diff options
author | Ionen Wolkens <sudinave@gmail.com> | 2021-04-14 08:55:12 -0400 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2021-04-15 09:38:57 +0300 |
commit | 7c5037f318142d9c012a6e8b31402f5a46e1d9cd (patch) | |
tree | 7a40ce6678dc74e065f84cadb03924a61fe2378f /x11-misc/xkeycaps | |
parent | x11-misc/xfishtank: fix build with -native-symlinks (diff) | |
download | gentoo-7c5037f318142d9c012a6e8b31402f5a46e1d9cd.tar.gz gentoo-7c5037f318142d9c012a6e8b31402f5a46e1d9cd.tar.bz2 gentoo-7c5037f318142d9c012a6e8b31402f5a46e1d9cd.zip |
x11-misc/xkeycaps: fix build with -native-symlinks
Also swapped DEPEND with BDEPEND to put imake in the right block.
Closes: https://bugs.gentoo.org/726240
Signed-off-by: Ionen Wolkens <sudinave@gmail.com>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'x11-misc/xkeycaps')
-rw-r--r-- | x11-misc/xkeycaps/xkeycaps-2.47_p7.ebuild | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/x11-misc/xkeycaps/xkeycaps-2.47_p7.ebuild b/x11-misc/xkeycaps/xkeycaps-2.47_p7.ebuild index bef2b91b62d2..cbac2508a679 100644 --- a/x11-misc/xkeycaps/xkeycaps-2.47_p7.ebuild +++ b/x11-misc/xkeycaps/xkeycaps-2.47_p7.ebuild @@ -23,11 +23,11 @@ RDEPEND=" x11-libs/libXt x11-misc/xbitmaps " -DEPEND=" - ${RDEPEND} +DEPEND="${RDEPEND}" +BDEPEND=" >=sys-apps/sed-4 x11-base/xorg-proto - x11-misc/imake + >=x11-misc/imake-1.0.8-r1 " DOCS=( README defining.txt hierarchy.txt sgi-microsoft.txt ) @@ -46,7 +46,8 @@ src_prepare() { } src_configure() { - xmkmf || die + CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \ + IMAKECPP="${IMAKECPP:-$(tc-getCPP)}" xmkmf || die sed -i \ -e "s,all:: xkeycaps.\$(MANSUFFIX).html,all:: ,g" \ Makefile || die |