summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2016-04-15 22:04:53 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-04-19 22:47:49 +0700
commitf7c33cde3a6b0d8c2172fbef9991bfa3db577a15 (patch)
treefc143d1f0cfe10174b07bdbd5cbd1c076facc27d
parent5c1f2de4fc19fd1b3df7a87efc2707d9051c3acc (diff)
downloadslackbuilds-f7c33cde3a6b0d8c2172fbef9991bfa3db577a15.tar.gz
system/gradm: Fix build on i586.
-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