summaryrefslogtreecommitdiff
path: root/perl/perl-GD/perl-GD.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'perl/perl-GD/perl-GD.SlackBuild')
-rw-r--r--perl/perl-GD/perl-GD.SlackBuild10
1 files changed, 4 insertions, 6 deletions
diff --git a/perl/perl-GD/perl-GD.SlackBuild b/perl/perl-GD/perl-GD.SlackBuild
index 87e2c117dc..fc9e4ab83c 100644
--- a/perl/perl-GD/perl-GD.SlackBuild
+++ b/perl/perl-GD/perl-GD.SlackBuild
@@ -6,6 +6,7 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20191201 bkw: update for v2.71
# 20180829 bkw: update for v2.69
# 20180611 bkw: update for v2.68
# 20180228 bkw:
@@ -13,7 +14,7 @@
# - add FASTCGI option
PRGNAM=perl-GD
-VERSION=${VERSION:-2.69}
+VERSION=${VERSION:-2.71}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -55,11 +56,8 @@ rm -rf $SRCNAM-$VERSION
tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
cd $SRCNAM-$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 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
# You might notice this in the build log:
# ** WARNING: found gd.h header file in /usr/X11R6/include/gd.h