summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-03-21 00:00:29 -0400
committerDavid Spencer <idlemoor@slackbuilds.org>2017-03-25 13:28:05 +0000
commitc0f41d66ecf41bb6cf804b610329d92296a5405d (patch)
tree0f36e1cb6b1171e53f061ea356d4aee27a18e7ed /graphics
parent89f1d5e87c9c00f40bf266ab18c6534a03b20cd4 (diff)
downloadslackbuilds-c0f41d66ecf41bb6cf804b610329d92296a5405d.tar.gz
graphics/dcraw: Remove template comment, i486=>i586.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'graphics')
-rw-r--r--graphics/dcraw/dcraw.SlackBuild7
1 files changed, 3 insertions, 4 deletions
diff --git a/graphics/dcraw/dcraw.SlackBuild b/graphics/dcraw/dcraw.SlackBuild
index 4db5624567..5dd363ee43 100644
--- a/graphics/dcraw/dcraw.SlackBuild
+++ b/graphics/dcraw/dcraw.SlackBuild
@@ -36,7 +36,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
@@ -47,8 +47,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"
@@ -117,7 +117,6 @@ done
# remove any empty directories
find $PKG -depth -empty -type d -exec rmdir '{}' \;
-# 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