summaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authorRichard Narron <richard@aaazen.com>2015-05-13 07:10:48 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-05-13 07:10:48 +0700
commita6ccd179003524784f3161f25c89960aa1399d89 (patch)
tree4be9a7d76b62812efb966b64a02f253f265034cb /development
parent8219eb57475366faf06e95c85235c12e11246060 (diff)
downloadslackbuilds-a6ccd179003524784f3161f25c89960aa1399d89.tar.gz
development/regina-rexx: Update script.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r--development/regina-rexx/regina-rexx.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/development/regina-rexx/regina-rexx.SlackBuild b/development/regina-rexx/regina-rexx.SlackBuild
index 7579285074..289dad4bf6 100644
--- a/development/regina-rexx/regina-rexx.SlackBuild
+++ b/development/regina-rexx/regina-rexx.SlackBuild
@@ -6,7 +6,7 @@
PRGNAM=regina-rexx
VERSION=${VERSION:-3.9.1}
DOCVERSION=${DOCVERSION:-3.9.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
FLAVOR=${FLAVOR:-dynamic} # set FLAVOR=static for a rexx static binary.
@@ -52,7 +52,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 {} \;
-if [ "${FLAVOR,,*}" = "static" ]; then
+if [ "$FLAVOR" = "static" ]; then
mv -f configure configure.orig
sed -e 's/STATIC_LDFLAGS=""/STATIC_LDFLAGS="-static"/' <configure.orig >configure
chmod 744 configure