diff options
Diffstat (limited to 'network/nbd/nbd.SlackBuild')
-rw-r--r-- | network/nbd/nbd.SlackBuild | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/network/nbd/nbd.SlackBuild b/network/nbd/nbd.SlackBuild index cc72e77af8..6ba059af09 100644 --- a/network/nbd/nbd.SlackBuild +++ b/network/nbd/nbd.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for NBD (Network Block Device) # Previously maintained by Stu Miller <slackbuilds@go4it2day.com> -# Currently maintained by Christoph Willing <chris.willing@linux.com" +# Maintained 2013-2016 by Christoph Willing <chris.willing@linux.com> # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are @@ -32,13 +32,13 @@ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=nbd -VERSION=${VERSION:-3.13} +VERSION=${VERSION:-3.14} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -49,8 +49,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -71,6 +71,8 @@ cd $TMP rm -rf $TMP/$PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.xz cd $PRGNAM-$VERSION +patch -p0 <$CWD/010_no-systemd.diff +chmod a+x support/genver.sh chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -78,6 +80,8 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +autoreconf -fiv + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ |