summaryrefslogtreecommitdiffstats
path: root/system/plan9port/plan9port.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/plan9port/plan9port.SlackBuild')
-rw-r--r--system/plan9port/plan9port.SlackBuild14
1 files changed, 7 insertions, 7 deletions
diff --git a/system/plan9port/plan9port.SlackBuild b/system/plan9port/plan9port.SlackBuild
index 999d86c428..7c51a2ead6 100644
--- a/system/plan9port/plan9port.SlackBuild
+++ b/system/plan9port/plan9port.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for plan9port
-# Copyright (c) 2012,2013 Ruben Schuller <ruben@orgizm.net>
+# Copyright (c) 2012-2014 Ruben Schuller <ruben@orgizm.net>
#
# Copyright (c) 2008-2010, Antonio Hernández Blas <hba.nihilismus@gmail.com>
# All rights reserved.
@@ -26,7 +26,7 @@
# 2012-10-23: added some changes to reflect the usage of nightly tarballs
PRGNAM=plan9port
-VERSION=${VERSION:-20130308}
+VERSION=${VERSION:-20140306}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -53,10 +53,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tgz
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 {} \;
# All plan9 programs are going to be installed in "/opt/plan9"
PLAN9_TARGET=/opt/plan9 ./INSTALL
@@ -64,7 +64,7 @@ PLAN9_TARGET=/opt/plan9 ./INSTALL
cd $TMP
mv $PRGNAM $PKG/opt/plan9
-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
# man(1) from plan9port dislikes man pages compressed :)