aboutsummaryrefslogtreecommitdiff
path: root/perl
diff options
context:
space:
mode:
authorJan F. Chadima <jfch@jagda.eu>2019-09-28 07:59:36 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-09-28 07:59:36 +0700
commitf7d324aa6849069e9dcb21bc4caff52f35950db2 (patch)
tree8f5d501adf0c9fa6a4a02d8ab8c3fef126f16f73 /perl
parent2b39547956e39b2ed3a052bef60ad8af525e2b81 (diff)
perl/perl-Module-Runtime-Conflicts: Switch to noarch.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'perl')
-rw-r--r--perl/perl-Module-Runtime-Conflicts/perl-Module-Runtime-Conflicts.SlackBuild26
1 files changed, 3 insertions, 23 deletions
diff --git a/perl/perl-Module-Runtime-Conflicts/perl-Module-Runtime-Conflicts.SlackBuild b/perl/perl-Module-Runtime-Conflicts/perl-Module-Runtime-Conflicts.SlackBuild
index 3dc5cbc52415..76c71ccba883 100644
--- a/perl/perl-Module-Runtime-Conflicts/perl-Module-Runtime-Conflicts.SlackBuild
+++ b/perl/perl-Module-Runtime-Conflicts/perl-Module-Runtime-Conflicts.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for perl-Module-Runtime-Conflicts
-# 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-Module-Runtime-Conflicts
VERSION=${VERSION:-0.003}
-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