aboutsummaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-03-22 22:57:22 +0000
committerDavid Spencer <idlemoor@slackbuilds.org>2017-03-25 13:29:54 +0000
commit64d64dcef7e369fc4000ca548cf2c28c0996d32c (patch)
tree80c6df1f6f30cf59d267cdf4ec06ca7273babc4e /network
parent47c3a26075a086eb796d8cc03a7eaa6aa092030b (diff)
network/urlview: Allow VERSION override, i486=>i586.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r--network/urlview/urlview.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/network/urlview/urlview.SlackBuild b/network/urlview/urlview.SlackBuild
index fc1673d0af7a0..4e3beb4772ba8 100644
--- a/network/urlview/urlview.SlackBuild
+++ b/network/urlview/urlview.SlackBuild
@@ -23,13 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=urlview
-VERSION=0.9
+VERSION=${VERSION:-0.9}
BUILD=${BUILD:-1}
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
@@ -42,8 +42,8 @@ OUTPUT=${OUTPUT:-/tmp}
DOCS="AUTHORS COPYING ChangeLog INSTALL README"
-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"