summaryrefslogtreecommitdiff
path: root/libraries/libmwaw/libmwaw.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libmwaw/libmwaw.SlackBuild')
-rw-r--r--libraries/libmwaw/libmwaw.SlackBuild16
1 files changed, 7 insertions, 9 deletions
diff --git a/libraries/libmwaw/libmwaw.SlackBuild b/libraries/libmwaw/libmwaw.SlackBuild
index 3b1d5ebe31..e5c0d2bed2 100644
--- a/libraries/libmwaw/libmwaw.SlackBuild
+++ b/libraries/libmwaw/libmwaw.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libmwaw
-VERSION=${VERSION:-0.3.9}
+VERSION=${VERSION:-0.3.12}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -54,7 +54,7 @@ else
LIBDIRSUFFIX=""
fi
-set -e
+set -eu
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -69,12 +69,10 @@ 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 {} \;
-DOC=${DOC:-no}
-if [ ! "$DOC" = "yes" ]; then
- doc="--without-docs"
-else
- doc=""
-fi
+case "${DOC:-no}" in
+ yes) doc='--with-docs' ;;
+ *) doc='--without-docs' ;;
+esac
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -82,7 +80,7 @@ CXXFLAGS="$SLKCFLAGS" \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--docdir=/usr/doc/$PRGNAM-$VERSION \
- --with-sharedptf=boost \
+ --disable-werror \
--build=$ARCH-slackware-linux \
$doc