commit:     49226474fa86142b7dfb587d72071e390a6d73fe
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat Jul  4 13:54:35 2020 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Jul  4 13:54:35 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49226474

x11-misc/imake: Pass CPP explicitly

Closes: https://bugs.gentoo.org/722046
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 x11-misc/imake/imake-1.0.8.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/x11-misc/imake/imake-1.0.8.ebuild 
b/x11-misc/imake/imake-1.0.8.ebuild
index 4e2c15dde42..4ace6394603 100644
--- a/x11-misc/imake/imake-1.0.8.ebuild
+++ b/x11-misc/imake/imake-1.0.8.ebuild
@@ -4,7 +4,7 @@
 EAPI=7
 
 XORG_STATIC=no
-inherit xorg-3
+inherit toolchain-funcs xorg-3
 
 DESCRIPTION="C preprocessor interface to the make utility"
 KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 s390 sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris 
~x64-solaris ~x86-solaris"
@@ -13,3 +13,7 @@ IUSE=""
 RDEPEND="x11-misc/xorg-cf-files"
 DEPEND="${RDEPEND}
        x11-base/xorg-proto"
+
+src_configure() {
+       econf CPP="$(tc-getPROG CPP cpp)"
+}

Reply via email to