diff options
author | B. Watson <urchlay@slackware.uk> | 2023-01-08 01:09:20 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-01-14 08:50:22 +0700 |
commit | 288a98e0d31840afa39f8304d62acf1512ae2246 (patch) | |
tree | ba65c771ce15265a6a3f07149f443f0b9ac345d5 /perl/perl-lwp-useragent-cached | |
parent | 688d0dd082f96b1121f0aafdb665a9a14601bf82 (diff) |
perl/perl-lwp-useragent-cached: ARCH=noarch.
Signed-off-by: B. Watson <urchlay@slackware.uk>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'perl/perl-lwp-useragent-cached')
-rw-r--r-- | perl/perl-lwp-useragent-cached/perl-lwp-useragent-cached.SlackBuild | 27 |
1 files changed, 4 insertions, 23 deletions
diff --git a/perl/perl-lwp-useragent-cached/perl-lwp-useragent-cached.SlackBuild b/perl/perl-lwp-useragent-cached/perl-lwp-useragent-cached.SlackBuild index 82a6970f45c43..f51a7df88791f 100644 --- a/perl/perl-lwp-useragent-cached/perl-lwp-useragent-cached.SlackBuild +++ b/perl/perl-lwp-useragent-cached/perl-lwp-useragent-cached.SlackBuild @@ -6,21 +6,16 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20230108 bkw: BUILD=2, ARCH=noarch. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-lwp-useragent-cached VERSION=${VERSION:-0.08} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi +ARCH=noarch if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" @@ -31,20 +26,6 @@ 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 SRCNAM="LWP-UserAgent-Cached" |