aboutsummaryrefslogtreecommitdiff
path: root/libraries/wvstreams/wvstreams.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/wvstreams/wvstreams.SlackBuild')
-rw-r--r--libraries/wvstreams/wvstreams.SlackBuild14
1 files changed, 5 insertions, 9 deletions
diff --git a/libraries/wvstreams/wvstreams.SlackBuild b/libraries/wvstreams/wvstreams.SlackBuild
index e04ca62c0a067..ebe4b85968f18 100644
--- a/libraries/wvstreams/wvstreams.SlackBuild
+++ b/libraries/wvstreams/wvstreams.SlackBuild
@@ -5,16 +5,14 @@
# Written by Vincent Batts, vbatts@batts.mine.nu
PRGNAM=wvstreams
-VERSION=4.6
+VERSION=4.6.1
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -53,9 +51,11 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Fix a build error with glibc-2.12.x
+patch -p0 < $CWD/wvstreams-4.6.1-glibc212.patch
+
# configure doesn't support disabling static libraries
# Don't manually remove them either, as wvdial won't build then :)
-# * Build without dbus support, since it requires the static dbus lib
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -65,7 +65,6 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--mandir=/usr/man \
--disable-testgui \
- --without-dbus \
--build=$ARCH-slackware-linux
make
@@ -77,10 +76,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
# Let's not clobber the config file
mv $PKG/etc/uniconf.conf $PKG/etc/uniconf.conf.new
-( cd $PKG/usr/man
- find . -type f -exec gzip -9 {} \;
- for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
-)
+find $PKG/usr/man -type f -exec gzip -9 {} \;
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \