1 |
commit: 98b223ffd8c3d239d3784180aaeab152bc16b4c9 |
2 |
Author: Ionen Wolkens <sudinave <AT> gmail <DOT> com> |
3 |
AuthorDate: Wed Apr 14 12:07:13 2021 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 15 06:38:55 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98b223ff |
7 |
|
8 |
sci-chemistry/rasmol: fix build with -native-symlinks |
9 |
|
10 |
Signed-off-by: Ionen Wolkens <sudinave <AT> gmail.com> |
11 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
12 |
|
13 |
sci-chemistry/rasmol/rasmol-2.7.5.2-r2.ebuild | 7 ++++--- |
14 |
1 file changed, 4 insertions(+), 3 deletions(-) |
15 |
|
16 |
diff --git a/sci-chemistry/rasmol/rasmol-2.7.5.2-r2.ebuild b/sci-chemistry/rasmol/rasmol-2.7.5.2-r2.ebuild |
17 |
index 6c8eb7c7eea..960a5d0f465 100644 |
18 |
--- a/sci-chemistry/rasmol/rasmol-2.7.5.2-r2.ebuild |
19 |
+++ b/sci-chemistry/rasmol/rasmol-2.7.5.2-r2.ebuild |
20 |
@@ -1,4 +1,4 @@ |
21 |
-# Copyright 1999-2020 Gentoo Authors |
22 |
+# Copyright 1999-2021 Gentoo Authors |
23 |
# Distributed under the terms of the GNU General Public License v2 |
24 |
|
25 |
EAPI=5 |
26 |
@@ -33,7 +33,7 @@ RDEPEND=" |
27 |
DEPEND="${RDEPEND} |
28 |
app-text/rman |
29 |
x11-base/xorg-proto |
30 |
- x11-misc/imake" |
31 |
+ >=x11-misc/imake-1.0.8-r1" |
32 |
|
33 |
#S="${WORKDIR}/${PN}-2.7.5-${VERS}" |
34 |
S="${WORKDIR}/RasMol-${PV}" |
35 |
@@ -78,7 +78,8 @@ src_prepare() { |
36 |
mv vector.c v_ector.c || die |
37 |
mv vector.h v_ector.h || die |
38 |
|
39 |
- xmkmf -DGTKWIN || die "xmkmf failed with ${myconf}" |
40 |
+ CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \ |
41 |
+ IMAKECPP="${IMAKECPP:-$(tc-getCPP)}" xmkmf -DGTKWIN || die |
42 |
} |
43 |
|
44 |
src_compile() { |