summaryrefslogtreecommitdiff
path: root/libraries/wvstreams/wvstreams.SlackBuild
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2010-12-27 22:06:42 -0600
committerRobby Workman <rworkman@slackbuilds.org>2010-12-29 01:08:49 -0600
commit051ada24554b5ade4cece3c88fa61718a47e726a (patch)
treeadccf9f796edcd030de1cb9339c82949dfa25061 /libraries/wvstreams/wvstreams.SlackBuild
parent48934c2eac31ecf24bdb36ce237a39ac67bc0291 (diff)
downloadslackbuilds-051ada24554b5ade4cece3c88fa61718a47e726a.tar.gz
libraries/wvstreams: Updated for version 4.6.1.
This update includes a patch to build against glibc-2.12.x. I actually did this update, but I shot it over to vbatts for a lookie before going any further with it... That said, blame me if there are problems... :-) Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
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 e04ca62c0a..ebe4b85968 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 \