mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
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
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user