summaryrefslogtreecommitdiffstats
path: root/extra/nfs-utils
diff options
context:
space:
mode:
Diffstat (limited to 'extra/nfs-utils')
-rwxr-xr-xextra/nfs-utils/Pkgfile18
1 files changed, 10 insertions, 8 deletions
diff --git a/extra/nfs-utils/Pkgfile b/extra/nfs-utils/Pkgfile
index d17e526cc..e47c68863 100755
--- a/extra/nfs-utils/Pkgfile
+++ b/extra/nfs-utils/Pkgfile
@@ -2,7 +2,7 @@
# URL: http://nfs.sourceforge.net
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
-# Depends: portmap
+# Depends on: portmap
name=nfs-utils
version=1.2.0
@@ -10,16 +10,18 @@ release=3
source=(http://ftp.kernel.org/pub/linux/utils/nfs/$name-$version.tar.gz)
build() {
cd $name-$version
+sed -i "1i\#include <sys/stat.h>\n" utils/exportfs/exportfs.c
+sed -i "1i\#include <sys/stat.h>\n" utils/mount/mount.c
+sed -i "1i\#include <sys/stat.h>\n" utils/mount/network.c
sed -i 's/getkversion//' tools/Makefile.in
-./configure --prefix=/usr\
- --sysconfdir=/etc\
- --mandir=/usr/share/man\
- --infodir=/usr/share/info\
- --disable-nfsv4 \
- --disable-gss
+./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --disable-nfsv4 \
+ --disable-gss
make
make DESTDIR=$PKG install
rm -r $PKG/{var,usr/share/man/man{7,8}}
mkdir -p $PKG/var/lib/nfs
}
-