summaryrefslogtreecommitdiff
path: root/perl/perl-Net-Patricia/perl-Net-Patricia.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'perl/perl-Net-Patricia/perl-Net-Patricia.SlackBuild')
-rw-r--r--perl/perl-Net-Patricia/perl-Net-Patricia.SlackBuild5
1 files changed, 1 insertions, 4 deletions
diff --git a/perl/perl-Net-Patricia/perl-Net-Patricia.SlackBuild b/perl/perl-Net-Patricia/perl-Net-Patricia.SlackBuild
index b901395002..03e9109688 100644
--- a/perl/perl-Net-Patricia/perl-Net-Patricia.SlackBuild
+++ b/perl/perl-Net-Patricia/perl-Net-Patricia.SlackBuild
@@ -32,12 +32,10 @@ TAG=${TAG:-_SBo}
SRCNAM="$(printf $PRGNAM | cut -f2- -d-)"
-# 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
@@ -61,7 +59,7 @@ 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 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor \
@@ -75,7 +73,6 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-# Compress man pages
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done