diff options
Diffstat (limited to 'x11-misc/xtoolwait')
-rw-r--r-- | x11-misc/xtoolwait/xtoolwait-1.3-r2.ebuild | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/x11-misc/xtoolwait/xtoolwait-1.3-r2.ebuild b/x11-misc/xtoolwait/xtoolwait-1.3-r2.ebuild index 386962ee9765..379b2beb3faf 100644 --- a/x11-misc/xtoolwait/xtoolwait-1.3-r2.ebuild +++ b/x11-misc/xtoolwait/xtoolwait-1.3-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -16,23 +16,21 @@ KEYWORDS="amd64 ppc x86" RDEPEND=" x11-libs/libX11 x11-libs/libXext" -DEPEND="${RDEPEND} - x11-base/xorg-proto" +DEPEND="${RDEPEND}" BDEPEND=" app-text/rman - x11-misc/imake" + x11-base/xorg-proto + >=x11-misc/imake-1.0.8-r1" src_configure() { - xmkmf || die - sed -i \ - -e '/CC = /d' -e '/EXTRA_LDOPTIONS = /d' \ - Makefile || die + CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \ + IMAKECPP="${IMAKECPP:-$(tc-getCPP)}" xmkmf || die } src_compile() { emake \ CC="$(tc-getCC)" \ - CCOPTIONS="${CFLAGS}" \ + CDEBUGFLAGS="${CFLAGS}" \ EXTRA_LDOPTIONS="${LDFLAGS}" } |