summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <sudinave@gmail.com>2021-04-14 09:52:12 -0400
committerJoonas Niilola <juippis@gentoo.org>2021-04-15 09:38:58 +0300
commit2d163581119d42e48a45d82621fddab990822bec (patch)
tree3574daf538812afd24c5cc3295ac35fb72d07dcc /x11-misc
parentx11-misc/xtrlock: fix build with -native-symlinks (diff)
downloadgentoo-2d163581119d42e48a45d82621fddab990822bec.tar.gz
gentoo-2d163581119d42e48a45d82621fddab990822bec.tar.bz2
gentoo-2d163581119d42e48a45d82621fddab990822bec.zip
x11-misc/xxkb: fix build with -native-symlinks
Closes: https://bugs.gentoo.org/732428 Signed-off-by: Ionen Wolkens <sudinave@gmail.com> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/xxkb/xxkb-1.11.1-r1.ebuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/x11-misc/xxkb/xxkb-1.11.1-r1.ebuild b/x11-misc/xxkb/xxkb-1.11.1-r1.ebuild
index bd8c8243f121..f95535a71bf9 100644
--- a/x11-misc/xxkb/xxkb-1.11.1-r1.ebuild
+++ b/x11-misc/xxkb/xxkb-1.11.1-r1.ebuild
@@ -31,7 +31,7 @@ RDEPEND="
DEPEND="${RDEPEND}"
BDEPEND="
app-text/rman
- x11-misc/imake
+ >=x11-misc/imake-1.0.8-r1
svg? ( virtual/pkgconfig )
"
@@ -48,7 +48,9 @@ src_prepare() {
}
src_configure() {
- xmkmf $(usex svg -DWITH_SVG_SUPPORT '') || die
+ CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \
+ IMAKECPP="${IMAKECPP:-$(tc-getCPP)}" \
+ xmkmf $(usex svg -DWITH_SVG_SUPPORT '') || die
}
src_compile() {