diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2021-09-12 14:20:29 +0200 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2021-09-12 14:20:29 +0200 |
commit | 6ab7f907e2687bab0295ad09a73260ca5d22b78a (patch) | |
tree | e537d7dbdb2309619aecb11cee987d4bef595e6a /dev-ml/zarith | |
parent | kde-apps/kopete: keyword 21.08.1 for ~riscv (diff) | |
download | gentoo-6ab7f907e2687bab0295ad09a73260ca5d22b78a.tar.gz gentoo-6ab7f907e2687bab0295ad09a73260ca5d22b78a.tar.bz2 gentoo-6ab7f907e2687bab0295ad09a73260ca5d22b78a.zip |
dev-ml/zarith: VariableScope
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-ml/zarith')
-rw-r--r-- | dev-ml/zarith/zarith-1.12.ebuild | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/dev-ml/zarith/zarith-1.12.ebuild b/dev-ml/zarith/zarith-1.12.ebuild index 365b3503fd38..1b285165f7c6 100644 --- a/dev-ml/zarith/zarith-1.12.ebuild +++ b/dev-ml/zarith/zarith-1.12.ebuild @@ -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() { @@ -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 |