aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2011-03-28 22:06:57 -0400
committerRobby Workman <rworkman@slackbuilds.org>2011-03-29 00:07:26 -0500
commit80818a8381674fff688f1b2c29d26b2dbb0023e4 (patch)
tree85db969520f13cf68a7398018d5d21d9f716b85b
parent6e3ec235efd0b13eb5862780d9ce529205b89d63 (diff)
network/hylafax: Updated for version 6.0.5.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
-rw-r--r--network/hylafax/hylafax.SlackBuild12
-rw-r--r--network/hylafax/hylafax.info6
2 files changed, 10 insertions, 8 deletions
diff --git a/network/hylafax/hylafax.SlackBuild b/network/hylafax/hylafax.SlackBuild
index d7bfcba0dbe23..637fe2c262b30 100644
--- a/network/hylafax/hylafax.SlackBuild
+++ b/network/hylafax/hylafax.SlackBuild
@@ -27,7 +27,7 @@
# General script clean-up and minor improvements
PRGNAM=hylafax
-VERSION=${VERSION:-6.0.4}
+VERSION=${VERSION:-6.0.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -80,6 +80,10 @@ sed "s|@LIBDIRSUFFIX@|${LIBDIRSUFFIX}|g" \
< $CWD/config.local.in \
> $TMP/$PRGNAM-$VERSION/config.local
+# strip missing header to prevent failure with GCC 4.5.
+sed -i -e 's|libc\.h ||' configure
+sed -i -e "s|-fpic|-fPIC|g" configure
+
CFLAGS="${SLKCFLAGS}" \
CXXFLAGS="${SLKCFLAGS}" \
./configure \
@@ -96,10 +100,8 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" \
| grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
# Compress man pages
-( 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 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mv $PKG/etc/rc.d/hylafax $PKG/etc/rc.d/rc.hylafax.new
( cd $PKG/var/spool/hylafax/etc
diff --git a/network/hylafax/hylafax.info b/network/hylafax/hylafax.info
index 095d1eb22a091..a4d05c6fbe366 100644
--- a/network/hylafax/hylafax.info
+++ b/network/hylafax/hylafax.info
@@ -1,8 +1,8 @@
PRGNAM="hylafax"
-VERSION="6.0.4"
+VERSION="6.0.5"
HOMEPAGE="http://www.hylafax.org"
-DOWNLOAD="ftp://ftp.hylafax.org/source/hylafax-6.0.4.tar.gz"
-MD5SUM="6ba4bc3a47c9d2634de1b14f4ab34c80"
+DOWNLOAD="ftp://ftp.hylafax.org/source/hylafax-6.0.5.tar.gz"
+MD5SUM="eb9ac942354ad708e20e4583cec6615f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="David Somero"