diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2020-05-17 18:00:24 +0200 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2020-05-17 18:00:24 +0200 |
commit | 12b6184ba9075cb777ec8329a7541f4682509074 (patch) | |
tree | 3e078b88a1d4cf8f9be6b2a5f07b1d50b1090895 /dev-ml/zarith | |
parent | gui-apps/wf-shell: basic desktop shell for wayfire (diff) | |
download | gentoo-12b6184ba9075cb777ec8329a7541f4682509074.tar.gz gentoo-12b6184ba9075cb777ec8329a7541f4682509074.tar.bz2 gentoo-12b6184ba9075cb777ec8329a7541f4682509074.zip |
dev-ml/zarith: using AR
Closes: https://bugs.gentoo.org/723144
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-ml/zarith')
-rw-r--r-- | dev-ml/zarith/files/zarith-1.9.1-ar.patch | 11 | ||||
-rw-r--r-- | dev-ml/zarith/zarith-1.9.1.ebuild | 6 |
2 files changed, 16 insertions, 1 deletions
diff --git a/dev-ml/zarith/files/zarith-1.9.1-ar.patch b/dev-ml/zarith/files/zarith-1.9.1-ar.patch new file mode 100644 index 000000000000..122cf0797dbe --- /dev/null +++ b/dev-ml/zarith/files/zarith-1.9.1-ar.patch @@ -0,0 +1,11 @@ +--- 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' diff --git a/dev-ml/zarith/zarith-1.9.1.ebuild b/dev-ml/zarith/zarith-1.9.1.ebuild index 85651e3b4951..6f6085a8c092 100644 --- a/dev-ml/zarith/zarith-1.9.1.ebuild +++ b/dev-ml/zarith/zarith-1.9.1.ebuild @@ -22,10 +22,14 @@ RDEPEND=" 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 \ |