development/menhir: Fix embedded path in menhir binary.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
David Spencer 2016-03-28 21:16:13 +01:00
parent 9aabd52ef3
commit 709c5dbfd6

View file

@ -72,14 +72,14 @@ find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# fix doc and man page path
sed -i -e 's/share\/doc/doc\//' -e 's/share\/man/man\//' Makefile
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
make -j1 PREFIX=$PKG/usr all
make -j1 PREFIX=/usr all
make install PREFIX=$PKG/usr
# "Installing MenhirLib via ocamlfind" ignores PREFIX= :-(