summaryrefslogtreecommitdiff
path: root/perl/perl-Test-Exception/perl-Test-Exception.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'perl/perl-Test-Exception/perl-Test-Exception.SlackBuild')
-rw-r--r--perl/perl-Test-Exception/perl-Test-Exception.SlackBuild15
1 files changed, 6 insertions, 9 deletions
diff --git a/perl/perl-Test-Exception/perl-Test-Exception.SlackBuild b/perl/perl-Test-Exception/perl-Test-Exception.SlackBuild
index ce9c3f63df..dae9ae5475 100644
--- a/perl/perl-Test-Exception/perl-Test-Exception.SlackBuild
+++ b/perl/perl-Test-Exception/perl-Test-Exception.SlackBuild
@@ -26,18 +26,16 @@
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=perl-Test-Exception
-VERSION=${VERSION:-0.31}
+VERSION=${VERSION:-0.32}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
SRCNAM=Test-Exception
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -66,12 +64,11 @@ tar xzvf $CWD/$SRCNAM-$VERSION.tar.gz
cd $TMP/$SRCNAM-$VERSION
chown -R root.root .
-find . \
-\( -perm 664 -o -perm 666 -o -perm 600 -o -perm 440 -o -perm 444 -o -perm 400 \) \
--exec chmod 644 {} \;
-find . \
-\( -perm 777 -o -perm 755 -o -perm 711 -o -perm 700 -o -perm 555 -o -perm 511 -o -perm 500 \) \
--exec chmod 755 {} \;
+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 {} \;
CFLAGS="$SLKCFLAGS" \
perl Makefile.PL \