summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <sudinave@gmail.com>2021-04-14 08:42:19 -0400
committerJoonas Niilola <juippis@gentoo.org>2021-04-15 09:38:56 +0300
commit5a880e7bea3684dff80b9cf962560039cfa811d8 (patch)
treebd7e39f51f96f3a26fbd02d6ec9e59805f4bcee9 /x11-misc/xearth
parentx11-misc/xcalendar: fix build with -native-symlinks (diff)
downloadgentoo-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.ebuild12
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}"
}