summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 d7bfcba0db..637fe2c262 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 095d1eb22a..a4d05c6fbe 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"