summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2022-09-30 05:42:35 -0400
committerIonen Wolkens <ionen@gentoo.org>2022-09-30 06:48:13 -0400
commitb0bc4c395b0db980013ffd2d4a0174ece2058b4d (patch)
tree8602d90ec169a3d0fe06cdc1ca517e8b66aa161a /x11-misc/xtitle
parentx11-misc/xtitle: EAPI6->8, fix license (diff)
downloadgentoo-b0bc4c395b0db980013ffd2d4a0174ece2058b4d.tar.gz
gentoo-b0bc4c395b0db980013ffd2d4a0174ece2058b4d.tar.bz2
gentoo-b0bc4c395b0db980013ffd2d4a0174ece2058b4d.zip
x11-misc/xtitle: force gcc -E for imake's generation
Requires traditional cpp support and is broken in all sort of ways with clang-cpp / -E. Can still use clang & friends for everything else. Haven't looked closely for possible quirks, but this should be migrated to not use imake (builds nothing, just shell scripts). Closes: https://bugs.gentoo.org/870916 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'x11-misc/xtitle')
-rw-r--r--x11-misc/xtitle/xtitle-1.0.4.ebuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/x11-misc/xtitle/xtitle-1.0.4.ebuild b/x11-misc/xtitle/xtitle-1.0.4.ebuild
index ca330584c334..eb54d4f2901c 100644
--- a/x11-misc/xtitle/xtitle-1.0.4.ebuild
+++ b/x11-misc/xtitle/xtitle-1.0.4.ebuild
@@ -13,13 +13,15 @@ LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="amd64 x86"
-BDEPEND=">=x11-misc/imake-1.0.8-r1"
+BDEPEND="
+ sys-devel/gcc
+ >=x11-misc/imake-1.0.8-r1"
HTML_DOCS=( xtitle.html )
src_configure() {
CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \
- IMAKECPP="${IMAKECPP:-$(tc-getCPP)}" xmkmf || die
+ IMAKECPP="${IMAKECPP:-${CHOST}-gcc -E}" xmkmf || die
}
src_install() {