summaryrefslogtreecommitdiff
path: root/system/vms
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@slackbuilds.org>2021-07-04 16:00:03 +0200
committerHeinz Wiesinger <pprkut@slackbuilds.org>2021-07-17 21:55:22 +0200
commit0322c4c09dc4846a232e29b302f575d5416f78a3 (patch)
treebc32e2a76711640a9dd217abc50fdefb252b8060 /system/vms
parentc4e3549748162cd820d802bcd0d820f6c875aa90 (diff)
downloadslackbuilds-0322c4c09dc4846a232e29b302f575d5416f78a3.tar.gz
system/vms: Fix support for PRINT_PACKAGE_NAME
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
Diffstat (limited to 'system/vms')
-rw-r--r--system/vms/vms.SlackBuild24
1 files changed, 2 insertions, 22 deletions
diff --git a/system/vms/vms.SlackBuild b/system/vms/vms.SlackBuild
index c7ae32abe8..12426eaa77 100644
--- a/system/vms/vms.SlackBuild
+++ b/system/vms/vms.SlackBuild
@@ -29,13 +29,7 @@ BUILD=${BUILD:-1}
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 the variable PRINT_PACKAGE_NAME is set, then this script will report what
# the name of the created package would be, and then exit. This information
@@ -49,20 +43,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
rm -rf $PKG
@@ -100,4 +80,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-noarch-$BUILD$TAG.$PKGTYPE
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE