summaryrefslogtreecommitdiff
path: root/system/scrypt
diff options
context:
space:
mode:
authorLEVAI Daniel <leva@ecentrum.hu>2013-12-14 23:33:49 +0700
committerErik Hanson <erik@slackbuilds.org>2013-12-14 10:53:07 -0600
commit01631765a80316e8dcc39df5901355bf24dcf538 (patch)
tree518f26c75045884f8bde8c61a589660b4062c872 /system/scrypt
parente6f9dd40ed3bb686ef3071353f7d604e79668f16 (diff)
downloadslackbuilds-01631765a80316e8dcc39df5901355bf24dcf538.tar.gz
system/scrypt: Use SLKCFLAGS.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/scrypt')
-rw-r--r--system/scrypt/scrypt.SlackBuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/system/scrypt/scrypt.SlackBuild b/system/scrypt/scrypt.SlackBuild
index 397be1abb5..c5ed3e5c2c 100644
--- a/system/scrypt/scrypt.SlackBuild
+++ b/system/scrypt/scrypt.SlackBuild
@@ -25,11 +25,12 @@
PRGNAM=scrypt
VERSION=${VERSION:-1.1.6}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
+ i686) ARCH=i686 ;;
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
@@ -70,6 +71,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--mandir=/usr/man \