summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-03-20 05:31:56 -0400
committerDavid Spencer <idlemoor@slackbuilds.org>2017-03-25 13:26:47 +0000
commit8779bdbc16873ca32598fd873e092e59f0b58a7b (patch)
tree0b0caf0df3c050e799afcb55b711a6b12f55173e /libraries
parent87696c4a0881660db3534df294d046d9a3557180 (diff)
downloadslackbuilds-8779bdbc16873ca32598fd873e092e59f0b58a7b.tar.gz
libraries/gts: Remove template comments, i486=>i586.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/gts/gts.SlackBuild7
1 files changed, 3 insertions, 4 deletions
diff --git a/libraries/gts/gts.SlackBuild b/libraries/gts/gts.SlackBuild
index f65f89c57f..a54da2535c 100644
--- a/libraries/gts/gts.SlackBuild
+++ b/libraries/gts/gts.SlackBuild
@@ -12,7 +12,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
@@ -23,8 +23,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"
@@ -68,7 +68,6 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install-strip DESTDIR=$PKG
-# Copy program documentation into the package
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS TODO $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild