summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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