summaryrefslogtreecommitdiffstats
path: root/libraries/libtirpc/libtirpc.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libtirpc/libtirpc.SlackBuild')
-rw-r--r--libraries/libtirpc/libtirpc.SlackBuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/libraries/libtirpc/libtirpc.SlackBuild b/libraries/libtirpc/libtirpc.SlackBuild
index f68091db32..87d0b1c647 100644
--- a/libraries/libtirpc/libtirpc.SlackBuild
+++ b/libraries/libtirpc/libtirpc.SlackBuild
@@ -1,7 +1,7 @@
#!/bin/sh
# Slackware build script for libtirpc
-# Copyright Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy, 2012
+# Copyright 2013,2014 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,7 +22,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libtirpc
-VERSION=${VERSION:-20120426_5e8214c}
+VERSION=${VERSION:-0.2.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -55,6 +55,8 @@ fi
DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS TODO VERSION"
+GSSAPI=dis ; [ "$(which gsstool)" ] && GSSAPI=en
+
set -e
rm -rf $PKG
@@ -82,12 +84,13 @@ CXXFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--enable-static=no \
+ --${GSSAPI}able-gssapi \
--build=$ARCH-slackware-linux
make
make install DESTDIR=$PKG
-mv $PKG/etc/netconfig{,new}
+mv $PKG/etc/netconfig $PKG/etc/netconfig.new
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true