Skip to content

Commit

Permalink
dev-ml/zarith: VariableScope
Browse files Browse the repository at this point in the history
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Alfredo Tupone <[email protected]>
  • Loading branch information
atupone committed Sep 12, 2021
1 parent 7a9e80f commit 6ab7f90
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion dev-ml/zarith/zarith-1.12.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,10 @@ src_configure() {
tc-export CC AR
./configure \
-ocamllibdir /usr/$(get_libdir)/ocaml \
-installdir "${ED}"/usr/$(get_libdir)/ocaml \
$(usex mpir "-mpir" "-gmp") || die
sed -i \
-e 's|$(INSTALLDIR)|$(DESTDIR)$(INSTALLDIR)|g' \
project.mak || die
}

src_compile() {
Expand All @@ -48,6 +50,7 @@ src_install() {
emake \
HASOCAMLOPT=$(usex ocamlopt yes no) \
HASDYNLINK=$(usex ocamlopt yes no) \
DESTDIR="${ED}" \
install

dosym zarith/libzarith.a /usr/$(get_libdir)/ocaml/libzarith.a
Expand Down

0 comments on commit 6ab7f90

Please sign in to comment.