From 6a4de107df635105910535bdfa0983ecf0fe1824 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Mon, 20 Mar 2017 05:35:52 -0400 Subject: libraries/lksctp-tools: Remove template comments, i486=>i586. Signed-off-by: B. Watson Signed-off-by: David Spencer --- libraries/lksctp-tools/lksctp-tools.SlackBuild | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'libraries/lksctp-tools/lksctp-tools.SlackBuild') diff --git a/libraries/lksctp-tools/lksctp-tools.SlackBuild b/libraries/lksctp-tools/lksctp-tools.SlackBuild index b557dabdbb..50d52190e5 100644 --- a/libraries/lksctp-tools/lksctp-tools.SlackBuild +++ b/libraries/lksctp-tools/lksctp-tools.SlackBuild @@ -10,7 +10,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 @@ -21,8 +21,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" @@ -64,28 +64,22 @@ CXXFLAGS="$SLKCFLAGS" \ --disable-static \ --build=$ARCH-slackware-linux -# Compile the application and install it into the $PKG directory make make install DESTDIR=$PKG -# Strip binaries and libraries find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -# Compress man pages find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done -# Remove 'special' files find $PKG -name perllocal.pod \ -o -name ".packlist" \ -o -name "*.bs" \ | xargs rm -f -# Copy the slack-desc (and a custom doinst.sh if necessary) into ./install mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc -# Make the package; be sure to leave it in $OUTPUT cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} -- cgit v1.2.3