summaryrefslogtreecommitdiff
path: root/system/gradm
diff options
context:
space:
mode:
Diffstat (limited to 'system/gradm')
-rw-r--r--system/gradm/gradm.SlackBuild11
1 files changed, 7 insertions, 4 deletions
diff --git a/system/gradm/gradm.SlackBuild b/system/gradm/gradm.SlackBuild
index fb89a59ca2..da5fec40ef 100644
--- a/system/gradm/gradm.SlackBuild
+++ b/system/gradm/gradm.SlackBuild
@@ -86,14 +86,17 @@ tar xvf $CWD/$PRGNAM-$SRCVERSION.tar.gz
cd ${PRGNAM}
chown -R root:root .
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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -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 {} \;
# change the mandir:
sed -i -e 's:^\(MANDIR=/usr/share/man\)$:#\1:' -e 's:^#\(MANDIR=/usr/man\)$:\1:' Makefile
+# don't link libfl:
+sed -i -e '/^LIBS :=/d' Makefile
+
make nopam
make install DESTDIR=$PKG