aboutsummaryrefslogtreecommitdiff
path: root/math/ocaml-zarith
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2017-01-29 23:13:59 +0000
committerJohn Marino <marino@FreeBSD.org>2017-01-29 23:13:59 +0000
commit48bb3208c4b69f79babb07fa6ce8f1501d1237aa (patch)
tree95d5701cd31f68ff298332447b6cc8dd13527662 /math/ocaml-zarith
parent7dc166606b9e5b155f45ee2f6cac61ac9ab04da9 (diff)
Notes
Diffstat (limited to 'math/ocaml-zarith')
-rw-r--r--math/ocaml-zarith/Makefile2
-rw-r--r--math/ocaml-zarith/files/patch-configure9
2 files changed, 9 insertions, 2 deletions
diff --git a/math/ocaml-zarith/Makefile b/math/ocaml-zarith/Makefile
index 861963520351..bb9bc52dc219 100644
--- a/math/ocaml-zarith/Makefile
+++ b/math/ocaml-zarith/Makefile
@@ -13,8 +13,6 @@ COMMENT= OCaml arithmetic library for arbitrary precision integers
LICENSE= LGPL20
LICENSE_FILE= ${WRKSRC}/LICENSE
-BROKEN= does not build
-
LIB_DEPENDS= libgmp.so:math/gmp
USES= gmake perl5 shebangfix tar:tgz
diff --git a/math/ocaml-zarith/files/patch-configure b/math/ocaml-zarith/files/patch-configure
index 6a42bd3e0d82..b451ff3514d9 100644
--- a/math/ocaml-zarith/files/patch-configure
+++ b/math/ocaml-zarith/files/patch-configure
@@ -11,6 +11,15 @@
IFS=':'
for i in $PATH
do
+@@ -258,7 +262,7 @@ searchbin ocamlfind
+ if test $? -eq 1 -a $ocamlfind != "no"; then
+ instmeth='findlib'
+ if test "$installdir" = "auto"
+- then installdir=`ocamlfind printconf destdir`; fi
++ then installdir=`ocamlfind printconf destdir | sed 's/:.*//'`; fi
+ else
+ searchbin install
+ if test $? -eq 1; then instmeth='install'
@@ -304,6 +308,14 @@ case $host in
arch='i686'
fi