mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
math/ocaml-zarith: Unbreak after ocaml-findlib change
Use the same technique madpilot used on x11-toolkits/ocaml-lablgtk2 to restore the build after the (unexpected) changed to the output of ocamlfindlib during its update to 1.7.1
This commit is contained in:
parent
7dc166606b
commit
48bb3208c4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=432805
2 changed files with 9 additions and 2 deletions
|
@ -13,8 +13,6 @@ COMMENT= OCaml arithmetic library for arbitrary precision integers
|
||||||
LICENSE= LGPL20
|
LICENSE= LGPL20
|
||||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||||
|
|
||||||
BROKEN= does not build
|
|
||||||
|
|
||||||
LIB_DEPENDS= libgmp.so:math/gmp
|
LIB_DEPENDS= libgmp.so:math/gmp
|
||||||
|
|
||||||
USES= gmake perl5 shebangfix tar:tgz
|
USES= gmake perl5 shebangfix tar:tgz
|
||||||
|
|
|
@ -11,6 +11,15 @@
|
||||||
IFS=':'
|
IFS=':'
|
||||||
for i in $PATH
|
for i in $PATH
|
||||||
do
|
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
|
@@ -304,6 +308,14 @@ case $host in
|
||||||
arch='i686'
|
arch='i686'
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue