diff options
author | Ionen Wolkens <sudinave@gmail.com> | 2021-04-14 10:59:47 -0400 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2021-04-15 09:38:59 +0300 |
commit | 4d982495c4a51401ce3b1e8c918c01782fb01099 (patch) | |
tree | 5ce00e7569994964ee83160ae2b57986aa56f3a8 /x11-wm/lwm | |
parent | x11-wm/larswm: fix build with -native-symlinks (diff) | |
download | gentoo-4d982495c4a51401ce3b1e8c918c01782fb01099.tar.gz gentoo-4d982495c4a51401ce3b1e8c918c01782fb01099.tar.bz2 gentoo-4d982495c4a51401ce3b1e8c918c01782fb01099.zip |
x11-wm/lwm: fix build with -native-symlinks
Closes: https://bugs.gentoo.org/726256
Signed-off-by: Ionen Wolkens <sudinave@gmail.com>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'x11-wm/lwm')
-rw-r--r-- | x11-wm/lwm/lwm-1.2.4.ebuild | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/x11-wm/lwm/lwm-1.2.4.ebuild b/x11-wm/lwm/lwm-1.2.4.ebuild index 563b885460e9..c42e35e0988d 100644 --- a/x11-wm/lwm/lwm-1.2.4.ebuild +++ b/x11-wm/lwm/lwm-1.2.4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -23,7 +23,7 @@ RDEPEND=" DEPEND=" ${RDEPEND} x11-base/xorg-proto - x11-misc/imake + >=x11-misc/imake-1.0.8-r1 " DOCS=( AUTHORS BUGS ChangeLog ) @@ -31,7 +31,11 @@ DOCS=( AUTHORS BUGS ChangeLog ) src_prepare() { default sed -i -e "s#(SMLIB)#& -lICE#g" Imakefile || die #370127 - xmkmf || die +} + +src_configure() { + CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \ + IMAKECPP="${IMAKECPP:-$(tc-getCPP)}" xmkmf || die } src_compile() { |