commit: b0bc4c395b0db980013ffd2d4a0174ece2058b4d Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> AuthorDate: Fri Sep 30 09:42:35 2022 +0000 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> CommitDate: Fri Sep 30 10:48:13 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0bc4c39
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 <AT> gentoo.org> x11-misc/xtitle/xtitle-1.0.4.ebuild | 6 ++++-- 1 file 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() {
