From 0f3f9d1c1099a090864c44be4b6fab9f778901c9 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Sat, 24 Sep 2016 21:23:21 +0700 Subject: network/netcat: Switch to i586. Signed-off-by: Willy Sudiarto Raharjo --- network/netcat/netcat.SlackBuild | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'network') diff --git a/network/netcat/netcat.SlackBuild b/network/netcat/netcat.SlackBuild index 8ea43e0fa40f5..264acf5a6b93a 100644 --- a/network/netcat/netcat.SlackBuild +++ b/network/netcat/netcat.SlackBuild @@ -3,7 +3,7 @@ # SlackBuild script for netcat. # # Copyright 2009 Pierre Cazenave -# Copyright 2013 Willy Sudiarto Raharjo +# Copyright 2013-2016 Willy Sudiarto Raharjo # 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 {} \; -- cgit v1.2.3