diff options
author | Andreas Voegele <andreas@andreasvoegele.com> | 2016-09-12 08:31:47 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-09-12 08:31:47 +0700 |
commit | 7bece80434a6a49305def2dfedf925800a445154 (patch) | |
tree | 982cb2f0005624b1f598d440f35976be4ece4294 /perl/perl-DBIx-Simple/perl-DBIx-Simple.SlackBuild | |
parent | c38d64fe7e09c139dde41159a0fe6a5b04a6b7e5 (diff) | |
download | slackbuilds-7bece80434a6a49305def2dfedf925800a445154.tar.gz |
perl/perl-DBIx-Simple: Switch to i586.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'perl/perl-DBIx-Simple/perl-DBIx-Simple.SlackBuild')
-rw-r--r-- | perl/perl-DBIx-Simple/perl-DBIx-Simple.SlackBuild | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/perl/perl-DBIx-Simple/perl-DBIx-Simple.SlackBuild b/perl/perl-DBIx-Simple/perl-DBIx-Simple.SlackBuild index aba43b8c32..c1d2ba8a6b 100644 --- a/perl/perl-DBIx-Simple/perl-DBIx-Simple.SlackBuild +++ b/perl/perl-DBIx-Simple/perl-DBIx-Simple.SlackBuild @@ -18,14 +18,14 @@ PRGNAM=perl-DBIx-Simple VERSION=${VERSION:-1.35} -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 |