1 |
commit: 1ca7e171ffba0c4cb247a1e7830d170e3a98b6fe |
2 |
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Feb 8 18:09:48 2017 +0000 |
4 |
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Feb 8 18:10:01 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ca7e171 |
7 |
|
8 |
dev-ml/findlib: export variables in src_prepare rather than calling functions at global scope, bug #593418 |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
|
12 |
dev-ml/findlib/findlib-1.7.1.ebuild | 5 ++--- |
13 |
1 file changed, 2 insertions(+), 3 deletions(-) |
14 |
|
15 |
diff --git a/dev-ml/findlib/findlib-1.7.1.ebuild b/dev-ml/findlib/findlib-1.7.1.ebuild |
16 |
index 052be47043..77861ad2d4 100644 |
17 |
--- a/dev-ml/findlib/findlib-1.7.1.ebuild |
18 |
+++ b/dev-ml/findlib/findlib-1.7.1.ebuild |
19 |
@@ -20,11 +20,10 @@ DEPEND=">=dev-lang/ocaml-4.02.3-r1:=[ocamlopt?] |
20 |
tk? ( dev-ml/labltk:= )" |
21 |
RDEPEND="${DEPEND}" |
22 |
|
23 |
-ocamlfind_destdir="${EPREFIX}/usr/$(get_libdir)/ocaml" |
24 |
-stublibs="${ocamlfind_destdir}/stublibs" |
25 |
- |
26 |
src_prepare() { |
27 |
epatch "${FILESDIR}/externalmeta4.patch" |
28 |
+ export ocamlfind_destdir="${EPREFIX}/usr/$(get_libdir)/ocaml" |
29 |
+ export stublibs="${ocamlfind_destdir}/stublibs" |
30 |
} |
31 |
|
32 |
src_configure() { |