summaryrefslogtreecommitdiff
path: root/perl/perl-Term-ReadLine-Gnu/perl-Term-ReadLine-Gnu.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'perl/perl-Term-ReadLine-Gnu/perl-Term-ReadLine-Gnu.SlackBuild')
-rw-r--r--perl/perl-Term-ReadLine-Gnu/perl-Term-ReadLine-Gnu.SlackBuild11
1 files changed, 5 insertions, 6 deletions
diff --git a/perl/perl-Term-ReadLine-Gnu/perl-Term-ReadLine-Gnu.SlackBuild b/perl/perl-Term-ReadLine-Gnu/perl-Term-ReadLine-Gnu.SlackBuild
index c1e67f38d2..fe56954b6b 100644
--- a/perl/perl-Term-ReadLine-Gnu/perl-Term-ReadLine-Gnu.SlackBuild
+++ b/perl/perl-Term-ReadLine-Gnu/perl-Term-ReadLine-Gnu.SlackBuild
@@ -17,7 +17,7 @@
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
PRGNAM=perl-Term-ReadLine-Gnu
-VERSION=${VERSION:-1.31}
+VERSION=${VERSION:-1.34}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -25,7 +25,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
@@ -36,8 +36,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"
@@ -56,7 +56,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+tar xovf $CWD/$SRCNAM-$VERSION.tar.gz
cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
@@ -66,7 +66,6 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
perl Makefile.PL \
- PREFIX=/usr \
INSTALLDIRS=vendor \
INSTALLVENDORMAN1DIR=/usr/man/man1 \
INSTALLVENDORMAN3DIR=/usr/man/man3