diff options
author | B. Watson <urchlay@slackware.uk> | 2023-02-14 15:06:40 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-02-18 10:07:12 +0700 |
commit | 6be0bf67f72f965e29cad2474f1040a2e14b5367 (patch) | |
tree | 8e5f22361b4f4662b380f67ad93202fba9e8b754 /development | |
parent | 1951538a5dc176da29ff4cbdcf6b4528579438c4 (diff) |
development/gnulib: Make noarch.
Signed-off-by: B. Watson <urchlay@slackware.uk>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r-- | development/gnulib/gnulib.SlackBuild | 27 |
1 files changed, 4 insertions, 23 deletions
diff --git a/development/gnulib/gnulib.SlackBuild b/development/gnulib/gnulib.SlackBuild index 0e385dba91d8..7510095d8539 100644 --- a/development/gnulib/gnulib.SlackBuild +++ b/development/gnulib/gnulib.SlackBuild @@ -17,21 +17,16 @@ # reasons, I'm going to package this. Hopefully this saves someone else # some work in the future. +# 20230214 bkw: BUILD=2, make this noarch, no other changes. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=gnulib VERSION=${VERSION:-20140202} -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" @@ -42,20 +37,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 |