1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-31 10:46:16 +00:00

math/why3: 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

While here, document previously unknown ocamlfind requirement.
This commit is contained in:
John Marino 2017-01-29 23:39:24 +00:00
parent 6e66ef1fb8
commit ca546db10d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=432811
2 changed files with 12 additions and 0 deletions

View File

@ -27,6 +27,7 @@ INSTALL_TARGET= install-all
USES= gmake
USE_OCAML= yes
USE_OCAML_FINDLIB= yes
FEDORA= ${DISTNAME}${EXTRACT_SUFX}/35f99e5f64939e50ea57f641ba2073ec
ALL_TARGET= all byte

View File

@ -0,0 +1,11 @@
--- configure.orig 2014-03-14 15:01:05 UTC
+++ configure
@@ -3427,7 +3427,7 @@ fi
#if ocamlfind is used it gives the install path for ocaml library
if test "$USEOCAMLFIND" = yes; then
- OCAMLINSTALLLIB=$(ocamlfind printconf destdir)
+ OCAMLINSTALLLIB=$(ocamlfind printconf destdir | sed 's/:.*//')
else
OCAMLINSTALLLIB=$OCAMLLIB
fi