From 73d79cab781c06f47d624dd7b906db0baa90654f Mon Sep 17 00:00:00 2001 From: Nishant Limbachia Date: Thu, 25 Aug 2016 15:14:48 +0100 Subject: perl/perl-MailTools: Updated for version 2.18. Signed-off-by: David Spencer --- perl/perl-MailTools/perl-MailTools.SlackBuild | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'perl/perl-MailTools/perl-MailTools.SlackBuild') diff --git a/perl/perl-MailTools/perl-MailTools.SlackBuild b/perl/perl-MailTools/perl-MailTools.SlackBuild index 0cedee104a..ef23c295b8 100644 --- a/perl/perl-MailTools/perl-MailTools.SlackBuild +++ b/perl/perl-MailTools/perl-MailTools.SlackBuild @@ -3,7 +3,7 @@ # Slackware Package Build Script for perl modules: MailTools # Home Page http://search.cpan.org/dist/MailTools/ -# Copyright (c) 2008-2014, Nishant Limbachia, Hoffman Estates, IL, USA +# Copyright (c) 2008-2016, Nishant Limbachia, Hoffman Estates, IL, USA # (nishant _AT_ mnspace _DOT_ net) # All rights reserved. @@ -28,7 +28,7 @@ # Modified by the SlackBuilds.org project. PRGNAM="perl-MailTools" -VERSION=${VERSION:-2.14} +VERSION=${VERSION:-2.18} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -36,7 +36,7 @@ SRCNAM="$(printf $PRGNAM | cut -f2 -d-)" if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -49,8 +49,8 @@ OUTPUT=${OUTPUT:-/tmp} set -e -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" elif [ "$ARCH" = "x86_64" ]; then @@ -74,7 +74,8 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; CFLAGS="$SLKCFLAGS" \ -perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLVENDORMAN3DIR=/usr/man/man3 +perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor \ + INSTALLVENDORMAN3DIR=/usr/man/man3 make make install DESTDIR=$PKG -- cgit v1.2.3