summaryrefslogtreecommitdiff
path: root/haskell/haskell-cryptonite/haskell-cryptonite.SlackBuild
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2017-01-28 20:37:25 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-02-04 06:59:26 +0700
commit36fb2aca2804d082c78dade9e91c5630b2763d7c (patch)
treeaa7fccdca256e9429a14656361960cfbd70f6ce5 /haskell/haskell-cryptonite/haskell-cryptonite.SlackBuild
parent37458da86c58192602a1c51866c614709df0e258 (diff)
downloadslackbuilds-36fb2aca2804d082c78dade9e91c5630b2763d7c.tar.gz
haskell/haskell-cryptonite: Updated for version 0.21.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'haskell/haskell-cryptonite/haskell-cryptonite.SlackBuild')
-rw-r--r--haskell/haskell-cryptonite/haskell-cryptonite.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/haskell/haskell-cryptonite/haskell-cryptonite.SlackBuild b/haskell/haskell-cryptonite/haskell-cryptonite.SlackBuild
index 8fb297f8cd..2b46204472 100644
--- a/haskell/haskell-cryptonite/haskell-cryptonite.SlackBuild
+++ b/haskell/haskell-cryptonite/haskell-cryptonite.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=haskell-cryptonite
-VERSION=${VERSION:-0.15}
+VERSION=${VERSION:-0.21}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -33,7 +33,7 @@ GHC_VERSION=$(ghc --numeric-version)
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"