diff options
Diffstat (limited to 'dev-ml/zarith')
-rw-r--r-- | dev-ml/zarith/Manifest | 2 | ||||
-rw-r--r-- | dev-ml/zarith/zarith-1.13.ebuild | 10 |
2 files changed, 5 insertions, 7 deletions
diff --git a/dev-ml/zarith/Manifest b/dev-ml/zarith/Manifest index c8ff1df4a49a..8801385ed37f 100644 --- a/dev-ml/zarith/Manifest +++ b/dev-ml/zarith/Manifest @@ -2,5 +2,5 @@ AUX zarith-1.12-shuffle.patch 308 BLAKE2B 7c725c7ef19483a153f7404c3c91f268faf24b DIST zarith-1.12.tar.gz 93695 BLAKE2B b9622e2f397887d08fb8a8520419cf459e99906c05a897af91258b17d92d3fbbd2314a0a4be8a56a07074dcb0a0d04c896b3b5e69526a6c81a8a07b657d1bfec SHA512 8075573ae65579a2606b37dd1b213032a07d220d28c733f9288ae80d36f8a2cc4d91632806df2503c130ea9658dc207ee3a64347c21aa53969050a208f5b2bb4 DIST zarith-1.13.tar.gz 85994 BLAKE2B a5860319e17f4e660f248f3e724076b578d27dc3a06e8b54d68bcd6ed021a0354ad714dfcb06329bb9c4a3eadc3d08fd84fd76ef5d1a8902a06a7506d77addde SHA512 a562fa8bf4f5ef44f2af6b9a8f028182fd184c89f8c41455acdc02851cc0fc3124d3776c0de930e8d09cd5d6d88cc689f80f4b597068a0611131f45d057b101f EBUILD zarith-1.12.ebuild 1429 BLAKE2B 015c4587939d5d7511d1b3e0437377b712da40c677db7069fde9f9f563475f3fc0deb16b1e3e4c4fbe74c97c1e9dc21b21de58a190be03c851d3cb55db97b43a SHA512 b3f000982657bab9e22e86b922e1ac2ac63281efa01f94ad46fdb6d68cede9c6d6ee7c51e0f2d09ddee834c776f5a01ba6a15a80ba3c97b53a0fc7b3fe179e4a -EBUILD zarith-1.13.ebuild 1385 BLAKE2B d46fc5d163575421b90b2905e7a0756368fc1539ae2581d314d77c2320010c0071c0ba66c71e160b9136dc077e4f2767627497968eeb7a22f8cc440525f54423 SHA512 fec9154c63e67680dcdbddd15932e082813f5bc119fe413c5fb9d030048286a65b7ca0c8052c9ec581ae723b03114800cc8ae91ed398986ecc9a5d611d747111 +EBUILD zarith-1.13.ebuild 1314 BLAKE2B ebeb8243c2f9a480cc32738008755fb96e7539994d6c6044f20b0e31bed709468c3d8e33a50db981d51294264172fa3796ebb6a24cae2fb15826fdfd41db2ece SHA512 c932c98f3e82ac10856eefb6e26fabea1af59a3119171bef64218cc09e63e85988b555133e8d6fe0365090b3b517ebdd8c3fde487a9547b2f2f3f3c833f15ef3 MISC metadata.xml 385 BLAKE2B b88400ffa45f84bd5bcfab6a7299ae7f961453f12a55f14dd329831a2273ded4ef2b21dcb25b2611d8590dac2850f84a0221a561d40fa65ce9d62a6ef9a75e57 SHA512 cab52bdbd8b49498a14001cef333073aab9e9496c4caef217cc37738e607a35b23d8e25c41394e976be98f822aca806a8da30773f142a70c69d2de7c8d87531c diff --git a/dev-ml/zarith/zarith-1.13.ebuild b/dev-ml/zarith/zarith-1.13.ebuild index ffe8f2bf2cdc..4312ddbd84a7 100644 --- a/dev-ml/zarith/zarith-1.13.ebuild +++ b/dev-ml/zarith/zarith-1.13.ebuild @@ -11,14 +11,13 @@ SRC_URI="https://github.com/ocaml/Zarith/archive/release-${PV}.tar.gz -> ${P}.ta LICENSE="LGPL-2.1-with-linking-exception" SLOT="0/${PV}" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc x86" -IUSE="doc mpir +ocamlopt" +KEYWORDS="amd64 ~arm ~arm64 ~ppc x86" +IUSE="doc +ocamlopt" RESTRICT="!ocamlopt? ( test )" RDEPEND=" >=dev-lang/ocaml-4.05:=[ocamlopt=] - !mpir? ( dev-libs/gmp:0= ) - mpir? ( sci-libs/mpir:= ) + dev-libs/gmp:0= " DEPEND="${RDEPEND} dev-lang/perl" @@ -29,8 +28,7 @@ S="${WORKDIR}/Zarith-release-${PV}" src_configure() { tc-export CC AR ./configure \ - -ocamllibdir /usr/$(get_libdir)/ocaml \ - $(usex mpir "-mpir" "-gmp") || die + -ocamllibdir /usr/$(get_libdir)/ocaml -gmp || die sed -i \ -e 's|$(INSTALLDIR)|$(DESTDIR)$(INSTALLDIR)|g' \ project.mak || die |