summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2017-02-08 19:09:48 +0100
committerAlexis Ballier <aballier@gentoo.org>2017-02-08 19:10:01 +0100
commit1ca7e171ffba0c4cb247a1e7830d170e3a98b6fe (patch)
treeaa9b7b7506e5773617fc313d2af948dd1cc22ce3 /dev-ml/findlib
parentdev-lisp/sbcl: Bumps version to 1.3.14 (diff)
downloadgentoo-1ca7e171ffba0c4cb247a1e7830d170e3a98b6fe.tar.gz
gentoo-1ca7e171ffba0c4cb247a1e7830d170e3a98b6fe.tar.bz2
gentoo-1ca7e171ffba0c4cb247a1e7830d170e3a98b6fe.zip
dev-ml/findlib: export variables in src_prepare rather than calling functions at global scope, bug #593418
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-ml/findlib')
-rw-r--r--dev-ml/findlib/findlib-1.7.1.ebuild5
1 files changed, 2 insertions, 3 deletions
diff --git a/dev-ml/findlib/findlib-1.7.1.ebuild b/dev-ml/findlib/findlib-1.7.1.ebuild
index 052be47043c0..77861ad2d4c7 100644
--- a/dev-ml/findlib/findlib-1.7.1.ebuild
+++ b/dev-ml/findlib/findlib-1.7.1.ebuild
@@ -20,11 +20,10 @@ DEPEND=">=dev-lang/ocaml-4.02.3-r1:=[ocamlopt?]
tk? ( dev-ml/labltk:= )"
RDEPEND="${DEPEND}"
-ocamlfind_destdir="${EPREFIX}/usr/$(get_libdir)/ocaml"
-stublibs="${ocamlfind_destdir}/stublibs"
-
src_prepare() {
epatch "${FILESDIR}/externalmeta4.patch"
+ export ocamlfind_destdir="${EPREFIX}/usr/$(get_libdir)/ocaml"
+ export stublibs="${ocamlfind_destdir}/stublibs"
}
src_configure() {