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:
parent
6e66ef1fb8
commit
ca546db10d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=432811
@ -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
|
||||
|
11
math/why3/files/patch-configure
Normal file
11
math/why3/files/patch-configure
Normal 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
|
Loading…
Reference in New Issue
Block a user