diff options
author | Andreas Voegele <andreas@andreasvoegele.com> | 2016-09-12 08:35:33 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-09-12 08:35:33 +0700 |
commit | f4789193e5f9846d49fa5cf7f88f8c49c51ad005 (patch) | |
tree | aca851c66d114d07da0d2cbf13a61a83268dc3d8 /perl/perl-Package-Constants/perl-Package-Constants.SlackBuild | |
parent | cb2804f46e118cd048715397ba0404982cefd73d (diff) | |
download | slackbuilds-f4789193e5f9846d49fa5cf7f88f8c49c51ad005.tar.gz |
perl/perl-Package-Constants: Switch to i586.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'perl/perl-Package-Constants/perl-Package-Constants.SlackBuild')
-rw-r--r-- | perl/perl-Package-Constants/perl-Package-Constants.SlackBuild | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/perl/perl-Package-Constants/perl-Package-Constants.SlackBuild b/perl/perl-Package-Constants/perl-Package-Constants.SlackBuild index cb3a95bca8..195c4e863b 100644 --- a/perl/perl-Package-Constants/perl-Package-Constants.SlackBuild +++ b/perl/perl-Package-Constants/perl-Package-Constants.SlackBuild @@ -18,14 +18,14 @@ PRGNAM=perl-Package-Constants VERSION=${VERSION:-0.06} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} 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" @@ -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 |