summaryrefslogtreecommitdiff
path: root/sci-chemistry/rasmol/rasmol-2.7.5.2-r2.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
commit40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 (patch)
tree758c221bad35c9288d0bd6df9c7dfc226728e52c /sci-chemistry/rasmol/rasmol-2.7.5.2-r2.ebuild
parent8d5dbd847cbc704a6a06405856e94b461011afe3 (diff)
gentoo resync : 28.04.2021
Diffstat (limited to 'sci-chemistry/rasmol/rasmol-2.7.5.2-r2.ebuild')
-rw-r--r--sci-chemistry/rasmol/rasmol-2.7.5.2-r2.ebuild9
1 files changed, 5 insertions, 4 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..534cffb9bba5 100644
--- a/sci-chemistry/rasmol/rasmol-2.7.5.2-r2.ebuild
+++ b/sci-chemistry/rasmol/rasmol-2.7.5.2-r2.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
-inherit eutils fortran-2 multilib prefix toolchain-funcs
+inherit epatch fortran-2 multilib prefix toolchain-funcs
MY_P="RasMol_${PV}"
VERS="13May11"
@@ -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() {