aboutsummaryrefslogtreecommitdiff
path: root/development/facile/facile.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2014-06-11 17:47:00 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-06-12 06:51:50 +0700
commit38c0664555a9674b440c360b4661008b21139534 (patch)
treecb66b4daa9831b2e8b9b03c6e4097d21192a6a2a /development/facile/facile.SlackBuild
parent59c33a0c1ebe761f5b3b22498d44debd1f063563 (diff)
development/facile: Fix build with ocaml 4.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/facile/facile.SlackBuild')
-rw-r--r--development/facile/facile.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/development/facile/facile.SlackBuild b/development/facile/facile.SlackBuild
index b9e0bb54f09dc..c6af2c1430e65 100644
--- a/development/facile/facile.SlackBuild
+++ b/development/facile/facile.SlackBuild
@@ -23,8 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=facile
-VERSION=1.1
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-1.1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -69,6 +69,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# patch to build against ocaml >= 4
+patch -p1 < $CWD/facile-1.1-ocaml4.patch
+
mkdir -p $PKG/usr/lib$LIBDIRSUFFIX/ocaml/facile
./configure \