summaryrefslogtreecommitdiff
path: root/libraries/libnfs/libnfs.SlackBuild
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja[at]gmail[dot]com>2013-06-16 15:55:16 -0500
committerNiels Horn <niels.horn@slackbuilds.org>2013-06-22 21:32:20 -0300
commit086c6c050fa49452003ad2911c555ee14ddd0d1d (patch)
treed08cf3cec94d530a4c979ba2d6a13cb758164bd7 /libraries/libnfs/libnfs.SlackBuild
parent22070018bdfee9e61ff058486a7984d7bb03a378 (diff)
downloadslackbuilds-086c6c050fa49452003ad2911c555ee14ddd0d1d.tar.gz
libraries/libnfs: Updated for version 1.6.0.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'libraries/libnfs/libnfs.SlackBuild')
-rw-r--r--libraries/libnfs/libnfs.SlackBuild13
1 files changed, 5 insertions, 8 deletions
diff --git a/libraries/libnfs/libnfs.SlackBuild b/libraries/libnfs/libnfs.SlackBuild
index 24bab68ebf..0968f6984e 100644
--- a/libraries/libnfs/libnfs.SlackBuild
+++ b/libraries/libnfs/libnfs.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libnfs
-VERSION=${VERSION:-1.5.0}
+VERSION=${VERSION:-1.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -69,12 +69,10 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-# Make libtirpc optional. Default is not to build w/libtirpc.
-if [ "${LIBTIRPC:-no}" == "yes" ]; then
- OPT_DEPS="--enable-tirpc"
-else
- unset OPT_DEPS
-fi
+# Fix pkg-config file.
+sed -i 's|@LIBNFS_PC_REQ_PRIVATE@||' $PRGNAM.pc.in
+
+./bootstrap
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -83,7 +81,6 @@ CXXFLAGS="$SLKCFLAGS" \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--disable-dependency-tracking \
--enable-static=no \
- $OPT_DEPS \
--build=$ARCH-slackware-linux
make