Closes: https://bugs.gentoo.org/723144
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
--- /dev/null
+--- a/configure 2020-05-17 17:46:29.826822055 +0200
++++ b/configure 2020-05-17 17:47:37.699808615 +0200
+@@ -22,7 +22,7 @@
+ gmp='auto'
+ perf='no'
+
+-ar='ar'
++ar="${AR}"
+ ocaml='ocaml'
+ ocamlc='ocamlc'
+ ocamlopt='ocamlopt'
DEPEND="${RDEPEND} dev-lang/perl"
DOCS=( README.md Changes )
+PATCHES=(
+ "${FILESDIR}"/${P}-ar.patch
+)
+
S="${WORKDIR}/Zarith-release-${PV}"
src_configure() {
- tc-export CC
+ tc-export CC AR
./configure -host "${CHOST}" \
-ocamllibdir /usr/$(get_libdir)/ocaml \
-installdir "${ED}"/usr/$(get_libdir)/ocaml \