aboutsummaryrefslogtreecommitdiff
path: root/libraries/ocaml-bisect/ocaml-bisect.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/ocaml-bisect/ocaml-bisect.SlackBuild')
-rw-r--r--libraries/ocaml-bisect/ocaml-bisect.SlackBuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/libraries/ocaml-bisect/ocaml-bisect.SlackBuild b/libraries/ocaml-bisect/ocaml-bisect.SlackBuild
index 297f813bfcc8..48feb44bcaec 100644
--- a/libraries/ocaml-bisect/ocaml-bisect.SlackBuild
+++ b/libraries/ocaml-bisect/ocaml-bisect.SlackBuild
@@ -79,7 +79,9 @@ make doc
OCAMLFIND_DESTDIR="$PKG/$(ocamlfind printconf destdir)"
sed "s|PATH_INSTALL=|PATH_INSTALL=$PKG/|" -i Makefile
+sed "s|\\\$(PATH_OCAML_PREFIX)/bin/bisect|${PKG}/&|" -i Makefile
mkdir -p "${OCAMLFIND_DESTDIR}"
+mkdir -p $PKG/usr/bin
OCAMLFIND_DESTDIR="${OCAMLFIND_DESTDIR}" DESTDIR="$PKG" PREFIX="/usr" make install || return 1
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION