summaryrefslogtreecommitdiffstats
path: root/libraries/wxGTK/wxGTK.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/wxGTK/wxGTK.SlackBuild')
-rw-r--r--libraries/wxGTK/wxGTK.SlackBuild14
1 files changed, 7 insertions, 7 deletions
diff --git a/libraries/wxGTK/wxGTK.SlackBuild b/libraries/wxGTK/wxGTK.SlackBuild
index eec3f760e1..884c243e3b 100644
--- a/libraries/wxGTK/wxGTK.SlackBuild
+++ b/libraries/wxGTK/wxGTK.SlackBuild
@@ -2,6 +2,8 @@
# Slackware build script for wxGTK
+# Ryan P.C. McQuen | Everett, WA | ryan.q@linux.com
+
# Copyright 2006-2009 Chess Griffin <chess@chessgriffin.com>
# Copyright 2010-2011,2013 Niels Horn, Rio de Janeiro, RJ, Brazil
# All rights reserved.
@@ -25,8 +27,6 @@
# Lots of key help from Eric Hameleers and the SBo admins.
-# revision date: 2013/03/29
-
PRGNAM=wxGTK
VERSION=${VERSION:-2.8.12}
BUILD=${BUILD:-3}
@@ -83,10 +83,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
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 {} \;
# Set unicode flag as desired by UNICODE variable
if [ "$UNICODE" = "YES" ]; then
@@ -111,7 +111,7 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
# Now let's fix the broken symlink created by the package