diff options
author | Jan F. Chadima <jfch@jagda.eu> | 2019-09-28 08:04:40 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-09-28 08:04:40 +0700 |
commit | ca506f567fd9de814a27bf9d4c52ad5bd1933bff (patch) | |
tree | 86afff5023a539ccc866a80a6433af7b438bbb20 /perl | |
parent | dfed4f76754405faba848e4cdda1539fb99734b6 (diff) | |
download | slackbuilds-ca506f567fd9de814a27bf9d4c52ad5bd1933bff.tar.gz |
perl/perl-MRO-Compat: Added (mro::* interface compatibility).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'perl')
-rw-r--r-- | perl/perl-MRO-Compat/perl-MRO-Compat.SlackBuild | 26 |
1 files changed, 3 insertions, 23 deletions
diff --git a/perl/perl-MRO-Compat/perl-MRO-Compat.SlackBuild b/perl/perl-MRO-Compat/perl-MRO-Compat.SlackBuild index 557a7655e5..d63a1891e2 100644 --- a/perl/perl-MRO-Compat/perl-MRO-Compat.SlackBuild +++ b/perl/perl-MRO-Compat/perl-MRO-Compat.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for perl-MRO-Compat -# Copyright 2018 Jan F. Chadima <jfch@jagda.eu> +# Copyright 2018-2019 Jan F. Chadima <jfch@jagda.eu> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,38 +24,18 @@ PRGNAM=perl-MRO-Compat VERSION=${VERSION:-0.13} -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=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi +ARCH=noarch CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - set -e rm -rf $PKG |