commit: 7c5037f318142d9c012a6e8b31402f5a46e1d9cd Author: Ionen Wolkens <sudinave <AT> gmail <DOT> com> AuthorDate: Wed Apr 14 12:55:12 2021 +0000 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> CommitDate: Thu Apr 15 06:38:57 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c5037f3
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 <AT> gmail.com> Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> x11-misc/xkeycaps/xkeycaps-2.47_p7.ebuild | 9 +++++---- 1 file 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 bef2b91b62d..cbac2508a67 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
