diff options
author | B. Watson <yalhcru@gmail.com> | 2017-03-22 22:57:22 +0000 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2017-03-25 13:29:54 +0000 |
commit | 64d64dcef7e369fc4000ca548cf2c28c0996d32c (patch) | |
tree | 80c6df1f6f30cf59d267cdf4ec06ca7273babc4e /network/urlview | |
parent | 47c3a26075a086eb796d8cc03a7eaa6aa092030b (diff) | |
download | slackbuilds-64d64dcef7e369fc4000ca548cf2c28c0996d32c.tar.gz |
network/urlview: Allow VERSION override, i486=>i586.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'network/urlview')
-rw-r--r-- | network/urlview/urlview.SlackBuild | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/network/urlview/urlview.SlackBuild b/network/urlview/urlview.SlackBuild index fc1673d0af..4e3beb4772 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" |