aboutsummaryrefslogtreecommitdiff
path: root/system/kyotocabinet
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2013-11-10 07:44:12 +0100
committerMatteo Bernardini <ponce@slackbuilds.org>2013-11-10 07:44:12 +0100
commitf236e92221f7509580c3c51cdd97b3153abea1d7 (patch)
tree598f394c76ce003331b580e0f92a142e34785d97 /system/kyotocabinet
parent9fcc9a8c822ddf90fda241247a4d18a2712524b8 (diff)
system/kyotocabinet: Set minimum x86 arch to i686.
Thanks to Thomas Morper Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'system/kyotocabinet')
-rw-r--r--system/kyotocabinet/kyotocabinet.SlackBuild13
1 files changed, 6 insertions, 7 deletions
diff --git a/system/kyotocabinet/kyotocabinet.SlackBuild b/system/kyotocabinet/kyotocabinet.SlackBuild
index 06ba169baa0b..91d7834bd9e9 100644
--- a/system/kyotocabinet/kyotocabinet.SlackBuild
+++ b/system/kyotocabinet/kyotocabinet.SlackBuild
@@ -1,7 +1,7 @@
#!/bin/sh
# Slackware build script for kyotocabinet
-# Copyright Matteo Bernardini <ponce@slackbuilds.org>, 2012
+# Copyright 2013 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,12 +23,14 @@
PRGNAM=kyotocabinet
VERSION=${VERSION:-1.2.76}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ # archs i386 and i486 are not supported
+ # thanks to Thomas Morper
+ i?86) ARCH=i686 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -39,10 +41,7 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
+if [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then