summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <sudinave@gmail.com>2021-04-14 08:07:13 -0400
committerJoonas Niilola <juippis@gentoo.org>2021-04-15 09:38:55 +0300
commit98b223ffd8c3d239d3784180aaeab152bc16b4c9 (patch)
tree8182e208065de23f21c02febcce50ace0d694764 /sci-chemistry
parentsci-calculators/hexcalc: fix build with -native-symlinks (diff)
downloadgentoo-98b223ffd8c3d239d3784180aaeab152bc16b4c9.tar.gz
gentoo-98b223ffd8c3d239d3784180aaeab152bc16b4c9.tar.bz2
gentoo-98b223ffd8c3d239d3784180aaeab152bc16b4c9.zip
sci-chemistry/rasmol: fix build with -native-symlinks
Signed-off-by: Ionen Wolkens <sudinave@gmail.com> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'sci-chemistry')
-rw-r--r--sci-chemistry/rasmol/rasmol-2.7.5.2-r2.ebuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/sci-chemistry/rasmol/rasmol-2.7.5.2-r2.ebuild b/sci-chemistry/rasmol/rasmol-2.7.5.2-r2.ebuild
index 6c8eb7c7eea0..960a5d0f4657 100644
--- a/sci-chemistry/rasmol/rasmol-2.7.5.2-r2.ebuild
+++ b/sci-chemistry/rasmol/rasmol-2.7.5.2-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -33,7 +33,7 @@ RDEPEND="
DEPEND="${RDEPEND}
app-text/rman
x11-base/xorg-proto
- x11-misc/imake"
+ >=x11-misc/imake-1.0.8-r1"
#S="${WORKDIR}/${PN}-2.7.5-${VERS}"
S="${WORKDIR}/RasMol-${PV}"
@@ -78,7 +78,8 @@ src_prepare() {
mv vector.c v_ector.c || die
mv vector.h v_ector.h || die
- xmkmf -DGTKWIN || die "xmkmf failed with ${myconf}"
+ CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \
+ IMAKECPP="${IMAKECPP:-$(tc-getCPP)}" xmkmf -DGTKWIN || die
}
src_compile() {