summaryrefslogtreecommitdiffstats
path: root/libraries/libzmf/libzmf.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libzmf/libzmf.SlackBuild')
-rw-r--r--libraries/libzmf/libzmf.SlackBuild14
1 files changed, 5 insertions, 9 deletions
diff --git a/libraries/libzmf/libzmf.SlackBuild b/libraries/libzmf/libzmf.SlackBuild
index 9e85a04e31..df26366605 100644
--- a/libraries/libzmf/libzmf.SlackBuild
+++ b/libraries/libzmf/libzmf.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libzmf
-VERSION=${VERSION:-0.0.1}
+VERSION=${VERSION:-0.0.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -69,9 +69,9 @@ 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 {} \;
-case "${DOC:-no}" in
- yes) doc='--with-docs' ;;
- *) doc='--without-docs' ;;
+case "${DOC:-0}" in
+ 0) doc='--without-docs' ;;
+ *) doc='--with-docs' ;;
esac
if pkg-config --exists cppunit; then
@@ -80,17 +80,13 @@ else
cppunit='--disable-tests'
fi
-# Fix build with slibtool
-# -no-undefines should be -no-undefined
-zcat $CWD/configure.patch.gz | patch -p1
-autoreconf -fi
-
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--docdir=/usr/doc/$PRGNAM-$VERSION \
+ --disable-static \
--disable-werror \
--build=$ARCH-slackware-linux \
$cppunit $doc