summaryrefslogtreecommitdiff
path: root/perl/perl-ExtUtils-ModuleMaker/perl-ExtUtils-ModuleMaker.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'perl/perl-ExtUtils-ModuleMaker/perl-ExtUtils-ModuleMaker.SlackBuild')
-rw-r--r--perl/perl-ExtUtils-ModuleMaker/perl-ExtUtils-ModuleMaker.SlackBuild13
1 files changed, 6 insertions, 7 deletions
diff --git a/perl/perl-ExtUtils-ModuleMaker/perl-ExtUtils-ModuleMaker.SlackBuild b/perl/perl-ExtUtils-ModuleMaker/perl-ExtUtils-ModuleMaker.SlackBuild
index 67f9aaf46e..264addd2dd 100644
--- a/perl/perl-ExtUtils-ModuleMaker/perl-ExtUtils-ModuleMaker.SlackBuild
+++ b/perl/perl-ExtUtils-ModuleMaker/perl-ExtUtils-ModuleMaker.SlackBuild
@@ -1,8 +1,8 @@
#!/bin/sh
#
# Slackware build script for perl-ExtUtils-ModuleMaker.
-
-# Copyright 2015 Edinaldo P. Silva, Rio de Janeiro, Brazil.
+#
+# Copyright 2015-2017 Edinaldo P. Silva, Rio de Janeiro, Brazil.
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=perl-ExtUtils-ModuleMaker
-VERSION=${VERSION:-0.55}
+VERSION=${VERSION:-0.56}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -31,7 +31,7 @@ SRCNAM="$(printf $PRGNAM | cut -d- -f2-)"
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -42,8 +42,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -76,7 +76,6 @@ perl Makefile.PL \
INSTALLDIRS=vendor \
INSTALLVENDORMAN3DIR=/usr/man/man3
make
-#make test
make install DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \