summaryrefslogtreecommitdiff
path: root/libraries/tDOM/tDOM.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-03-20 05:43:46 -0400
committerDavid Spencer <idlemoor@slackbuilds.org>2017-03-25 13:26:48 +0000
commit480db952e330bd76ceba709c93d028a96ad7e814 (patch)
treecad6348be223474a0b197f35bf145a6b2b70fb36 /libraries/tDOM/tDOM.SlackBuild
parent6a4de107df635105910535bdfa0983ecf0fe1824 (diff)
downloadslackbuilds-480db952e330bd76ceba709c93d028a96ad7e814.tar.gz
libraries/tDOM: 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/tDOM/tDOM.SlackBuild')
-rw-r--r--libraries/tDOM/tDOM.SlackBuild7
1 files changed, 3 insertions, 4 deletions
diff --git a/libraries/tDOM/tDOM.SlackBuild b/libraries/tDOM/tDOM.SlackBuild
index d10ce9af66..50cc9c6302 100644
--- a/libraries/tDOM/tDOM.SlackBuild
+++ b/libraries/tDOM/tDOM.SlackBuild
@@ -33,7 +33,7 @@ BUILD_TDOMHTML=${BUILD_TDOMHTML:-true} ; # build tdomhtml html generation module
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -44,8 +44,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"
@@ -137,7 +137,6 @@ cp -a \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-# 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