diff options
author | B. Watson <yalhcru@gmail.com> | 2017-03-21 04:04:57 -0400 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2017-03-25 13:28:31 +0000 |
commit | dbbdd788a161048d0703e1553fe3d36e0a02a561 (patch) | |
tree | 4ec1c6bdbdfbbc4affa73093735973bb75231c7c /network/cryptcat-unix | |
parent | dc1ed2ea59a00a89c36afad20e58b808e4e11d1a (diff) | |
download | slackbuilds-dbbdd788a161048d0703e1553fe3d36e0a02a561.tar.gz |
network/cryptcat-unix: Allow VERSION override, i486=>i586.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'network/cryptcat-unix')
-rw-r--r-- | network/cryptcat-unix/cryptcat-unix.SlackBuild | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/network/cryptcat-unix/cryptcat-unix.SlackBuild b/network/cryptcat-unix/cryptcat-unix.SlackBuild index f13e67778a..76df5aefc5 100644 --- a/network/cryptcat-unix/cryptcat-unix.SlackBuild +++ b/network/cryptcat-unix/cryptcat-unix.SlackBuild @@ -8,14 +8,14 @@ # # Modified by SlackBuilds.org -VERSION=1.2.1 +VERSION=${VERSION:-1.2.1} PRGNAM=cryptcat-unix 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 @@ -28,8 +28,8 @@ OUTPUT=${OUTPUT:-/tmp} DOC="Changelog Credits README.cryptcat README netcat.blurb" -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" |