aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@gmail.com>2012-09-17 08:25:34 +0700
committerRobby Workman <rworkman@slackbuilds.org>2012-09-16 23:10:11 -0500
commita84c99b2d78d78e2021d35760be329bd82aba4c9 (patch)
tree3e6b13cc2b9a0f9e86c2f240661269535625996e
parentcba9b159ef0c70f6aa7622a49852e6ed9014c28b (diff)
system/trackfs: Fixed compile error.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r--system/trackfs/trackfs.SlackBuild11
1 files changed, 8 insertions, 3 deletions
diff --git a/system/trackfs/trackfs.SlackBuild b/system/trackfs/trackfs.SlackBuild
index 0595c192ba62a..f1bc4791fe698 100644
--- a/system/trackfs/trackfs.SlackBuild
+++ b/system/trackfs/trackfs.SlackBuild
@@ -3,10 +3,11 @@
# Slackware build script for trackfs
# Written by B. Watson (yalhcru@gmail.com)
+# Modified by Willy Sudiarto Raharjo <willysr@slackware-id.org>
PRGNAM=trackfs
VERSION=${VERSION:-0.0.9}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
@@ -41,9 +42,13 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
-chmod -R a-s,u+w,go+r-w .
+find . \
+ \( -perm 777 -o -perm 775 -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 {} \;
-CFLAGS="$SLKCFLAGS" \
+CFLAGS="$SLKCFLAGS -D_GNU_SOURCE" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \