diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-09-24 21:23:21 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-09-25 07:04:49 +0700 |
commit | 0f3f9d1c1099a090864c44be4b6fab9f778901c9 (patch) | |
tree | 5855520194899184549463ce5cc952c43f86861d /network | |
parent | 0e47a689f1d67d33e827370d8ec85814a9571e36 (diff) | |
download | slackbuilds-0f3f9d1c1099a090864c44be4b6fab9f778901c9.tar.gz |
network/netcat: Switch to i586.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r-- | network/netcat/netcat.SlackBuild | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/network/netcat/netcat.SlackBuild b/network/netcat/netcat.SlackBuild index 8ea43e0fa4..264acf5a6b 100644 --- a/network/netcat/netcat.SlackBuild +++ b/network/netcat/netcat.SlackBuild @@ -3,7 +3,7 @@ # SlackBuild script for netcat. # # Copyright 2009 Pierre Cazenave <pwcazenave {at} gmail [dot] com> -# Copyright 2013 Willy Sudiarto Raharjo <willysr@slackbuilds.org> +# Copyright 2013-2016 Willy Sudiarto Raharjo <willysr@slackbuilds.org> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -30,7 +30,7 @@ TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -41,8 +41,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -100,8 +100,7 @@ rm -f $PKG/usr/info/dir gzip -9 $PKG/usr/info/* mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL NEWS README TODO \ +cp -a ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL NEWS README TODO \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \; |