diff options
author | dsomero <xgizzmo@slackbuilds.org> | 2011-03-28 22:06:57 -0400 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-03-29 00:07:26 -0500 |
commit | 80818a8381674fff688f1b2c29d26b2dbb0023e4 (patch) | |
tree | 85db969520f13cf68a7398018d5d21d9f716b85b /network/hylafax/hylafax.SlackBuild | |
parent | 6e3ec235efd0b13eb5862780d9ce529205b89d63 (diff) |
network/hylafax: Updated for version 6.0.5.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'network/hylafax/hylafax.SlackBuild')
-rw-r--r-- | network/hylafax/hylafax.SlackBuild | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/network/hylafax/hylafax.SlackBuild b/network/hylafax/hylafax.SlackBuild index d7bfcba0dbe2..637fe2c262b3 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 |