summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <sudinave@gmail.com>2021-04-14 08:27:22 -0400
committerJoonas Niilola <juippis@gentoo.org>2021-04-15 09:38:55 +0300
commit3f689108a69d70cd3f5a0afc86bb845b5b20a837 (patch)
tree6f4931ee5a4ebdc7c8d2f8d8a67b2c80eb35dc8b /x11-misc/xautolock
parentx11-misc/x2x: fix build with -native-symlinks (diff)
downloadgentoo-3f689108a69d70cd3f5a0afc86bb845b5b20a837.tar.gz
gentoo-3f689108a69d70cd3f5a0afc86bb845b5b20a837.tar.bz2
gentoo-3f689108a69d70cd3f5a0afc86bb845b5b20a837.zip
x11-misc/xautolock: fix build with -native-symlinks
Also swapped DEPEND with BDEPEND to put imake in the right block. Closes: https://bugs.gentoo.org/726214 Signed-off-by: Ionen Wolkens <sudinave@gmail.com> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'x11-misc/xautolock')
-rw-r--r--x11-misc/xautolock/xautolock-2.2_p7.ebuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/x11-misc/xautolock/xautolock-2.2_p7.ebuild b/x11-misc/xautolock/xautolock-2.2_p7.ebuild
index bfd5bdfe3a6c..7ffba8cfdf6e 100644
--- a/x11-misc/xautolock/xautolock-2.2_p7.ebuild
+++ b/x11-misc/xautolock/xautolock-2.2_p7.ebuild
@@ -19,11 +19,11 @@ KEYWORDS="amd64 ~arm ~arm64 ppc sparc x86"
RDEPEND="
x11-libs/libXScrnSaver
"
-DEPEND="
- ${RDEPEND}
+DEPEND="${RDEPEND}"
+BDEPEND="
app-text/rman
x11-base/xorg-proto
- x11-misc/imake
+ >=x11-misc/imake-1.0.8-r1
"
PATCHES=(
"${FILESDIR}"/${PN}-2.2_p5_p1-waitpid.patch
@@ -37,7 +37,8 @@ src_prepare() {
}
src_configure() {
- xmkmf || die
+ CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \
+ IMAKECPP="${IMAKECPP:-$(tc-getCPP)}" xmkmf || die
}
src_compile() {