summaryrefslogtreecommitdiff
path: root/perl
diff options
context:
space:
mode:
authorJan F. Chadima <jfch@jagda.eu>2019-09-28 09:07:49 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-09-28 09:07:49 +0700
commitb9bf465aaaa950650df38c975e2f6d175f5a063e (patch)
tree9c3e2734e4d389b2a536ed80a6a838e3b20028dc /perl
parentf9eaee2694fc265a932b9175b84ab894e22d6052 (diff)
downloadslackbuilds-b9bf465aaaa950650df38c975e2f6d175f5a063e.tar.gz
perl/perl-Sub-Exporter-ForMethods: Switch to noarch.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'perl')
-rw-r--r--perl/perl-Sub-Exporter-ForMethods/perl-Sub-Exporter-ForMethods.SlackBuild24
1 files changed, 2 insertions, 22 deletions
diff --git a/perl/perl-Sub-Exporter-ForMethods/perl-Sub-Exporter-ForMethods.SlackBuild b/perl/perl-Sub-Exporter-ForMethods/perl-Sub-Exporter-ForMethods.SlackBuild
index 2091b3b6b5..908eaeddb2 100644
--- a/perl/perl-Sub-Exporter-ForMethods/perl-Sub-Exporter-ForMethods.SlackBuild
+++ b/perl/perl-Sub-Exporter-ForMethods/perl-Sub-Exporter-ForMethods.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for perl-Sub-Exporter-ForMethods
-# 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
@@ -29,33 +29,13 @@ 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