diff options
author | Ionen Wolkens <sudinave@gmail.com> | 2021-04-14 08:42:19 -0400 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2021-04-15 09:38:56 +0300 |
commit | 5a880e7bea3684dff80b9cf962560039cfa811d8 (patch) | |
tree | bd7e39f51f96f3a26fbd02d6ec9e59805f4bcee9 /x11-misc/xearth | |
parent | x11-misc/xcalendar: fix build with -native-symlinks (diff) | |
download | gentoo-5a880e7bea3684dff80b9cf962560039cfa811d8.tar.gz gentoo-5a880e7bea3684dff80b9cf962560039cfa811d8.tar.bz2 gentoo-5a880e7bea3684dff80b9cf962560039cfa811d8.zip |
x11-misc/xearth: fix build with -native-symlinks
Closes: https://bugs.gentoo.org/726222
Signed-off-by: Ionen Wolkens <sudinave@gmail.com>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'x11-misc/xearth')
-rw-r--r-- | x11-misc/xearth/xearth-1.1-r1.ebuild | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/x11-misc/xearth/xearth-1.1-r1.ebuild b/x11-misc/xearth/xearth-1.1-r1.ebuild index 52016d87ae19..cbd3a60f818d 100644 --- a/x11-misc/xearth/xearth-1.1-r1.ebuild +++ b/x11-misc/xearth/xearth-1.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -22,7 +22,7 @@ RDEPEND=" " DEPEND="${RDEPEND} x11-base/xorg-proto - x11-misc/imake + >=x11-misc/imake-1.0.8-r1 app-text/rman " @@ -31,12 +31,14 @@ src_prepare() { } src_configure() { - xmkmf || die + CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \ + IMAKECPP="${IMAKECPP:-$(tc-getCPP)}" xmkmf || die } src_compile() { - emake CC=$(tc-getCC) \ - CCOPTIONS="${CFLAGS}" \ + emake \ + CC="$(tc-getCC)" \ + CDEBUGFLAGS="${CFLAGS}" \ EXTRA_LDOPTIONS="${LDFLAGS}" } |