summaryrefslogtreecommitdiff
path: root/libraries/fltk/fltk.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/fltk/fltk.SlackBuild')
-rw-r--r--libraries/fltk/fltk.SlackBuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/libraries/fltk/fltk.SlackBuild b/libraries/fltk/fltk.SlackBuild
index 69b18f7310..a0e106305b 100644
--- a/libraries/fltk/fltk.SlackBuild
+++ b/libraries/fltk/fltk.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=fltk
VERSION=1.1.10
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
@@ -67,7 +67,11 @@ rm -rf $PRGNAM-$VERSION
tar xjf $CWD/$PRGNAM-$VERSION-source.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
-chmod -R u+w,go+r-w,a-s .
+find -L . \
+ \( -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 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# Fix underlinking.
patch -p1 -i $CWD/fltk-1.1.10-pkgconfig_xft.patch