summaryrefslogtreecommitdiff
path: root/perl/perl-Net-Libdnet/perl-Net-Libdnet.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'perl/perl-Net-Libdnet/perl-Net-Libdnet.SlackBuild')
-rw-r--r--perl/perl-Net-Libdnet/perl-Net-Libdnet.SlackBuild10
1 files changed, 4 insertions, 6 deletions
diff --git a/perl/perl-Net-Libdnet/perl-Net-Libdnet.SlackBuild b/perl/perl-Net-Libdnet/perl-Net-Libdnet.SlackBuild
index 6a686cc666..0b414b4439 100644
--- a/perl/perl-Net-Libdnet/perl-Net-Libdnet.SlackBuild
+++ b/perl/perl-Net-Libdnet/perl-Net-Libdnet.SlackBuild
@@ -23,19 +23,17 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=perl-Net-Libdnet
-VERSION=${VERSION:-0.92}
+VERSION=${VERSION:-0.98}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
SRC_PRGNAM=Net-Libdnet
DOCS="LICENSE README"
-# 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
@@ -68,11 +66,11 @@ rm -rf $SRC_PRGNAM-$VERSION
tar xvf $CWD/$SRC_PRGNAM-$VERSION.tar.gz
cd $SRC_PRGNAM-$VERSION
chown -R root:root .
-find . \
+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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
perl Makefile.PL INSTALLDIRS=perl
make