summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <sudinave@gmail.com>2021-04-14 08:17:04 -0400
committerJoonas Niilola <juippis@gentoo.org>2021-04-15 09:38:55 +0300
commita50d9135ce439a19167f417374a6c8c86545cceb (patch)
tree167d982bfb94172ef6c1a5335e07e3220646e473 /x11-misc/x2x
parentx11-misc/dclock: fix build with -native-symlinks (diff)
downloadgentoo-a50d9135ce439a19167f417374a6c8c86545cceb.tar.gz
gentoo-a50d9135ce439a19167f417374a6c8c86545cceb.tar.bz2
gentoo-a50d9135ce439a19167f417374a6c8c86545cceb.zip
x11-misc/x2x: fix build with -native-symlinks
Also swapped DEPEND with BDEPEND to put imake in the right block. Closes: https://bugs.gentoo.org/726236 Signed-off-by: Ionen Wolkens <sudinave@gmail.com> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'x11-misc/x2x')
-rw-r--r--x11-misc/x2x/x2x-1.27-r3.ebuild10
1 files changed, 6 insertions, 4 deletions
diff --git a/x11-misc/x2x/x2x-1.27-r3.ebuild b/x11-misc/x2x/x2x-1.27-r3.ebuild
index 4c02869b428b..3fa95a9e0e9a 100644
--- a/x11-misc/x2x/x2x-1.27-r3.ebuild
+++ b/x11-misc/x2x/x2x-1.27-r3.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
@@ -20,10 +20,11 @@ IUSE=""
RDEPEND="x11-libs/libX11
x11-libs/libXtst
x11-libs/libXext"
-DEPEND="${RDEPEND}
+DEPEND="${RDEPEND}"
+BDEPEND="
app-text/rman
x11-base/xorg-proto
- x11-misc/imake"
+ >=x11-misc/imake-1.0.8-r1"
PATCHES=(
# Patch from Debian to add -north and -south, among other fixes
@@ -45,7 +46,8 @@ src_prepare() {
}
src_configure() {
- xmkmf || die
+ CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \
+ IMAKECPP="${IMAKECPP:-$(tc-getCPP)}" xmkmf || die
}
src_compile() {