aboutsummaryrefslogtreecommitdiff
path: root/libraries/libnfs/libnfs.SlackBuild
diff options
context:
space:
mode:
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 24bab68ebf0bc..0968f6984e2aa 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