From f7c33cde3a6b0d8c2172fbef9991bfa3db577a15 Mon Sep 17 00:00:00 2001 From: David Spencer Date: Fri, 15 Apr 2016 22:04:53 +0100 Subject: system/gradm: Fix build on i586. --- system/gradm/gradm.SlackBuild | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'system') 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 -- cgit v1.2.3