diff options
Diffstat (limited to 'extra/nfs-utils/Pkgfile')
-rwxr-xr-x | extra/nfs-utils/Pkgfile | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/extra/nfs-utils/Pkgfile b/extra/nfs-utils/Pkgfile index da63efea1..efb12fc31 100755 --- a/extra/nfs-utils/Pkgfile +++ b/extra/nfs-utils/Pkgfile @@ -2,24 +2,25 @@ # URL: http://nfs.sourceforge.net # Maintainer: NuTyX core team # Packager: thierryn1 at hispeed dot ch -# Depends on: libnfsidmap,libevent, keyutils +# Depends on: libevent # Run on: portmap name=nfs-utils -version=1.2.4 -release=1 +version=1.2.0 +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 \ - --enable-nfsv4 \ - --enable-nfsv3 \ - --with-tcp-wrappers \ - --disable-gss \ - --with-statedir=/var/lib/nfs + --disable-nfsv4 \ + --disable-gss make make DESTDIR=$PKG install rm -r $PKG/{var,usr/share/man/man{7,8}} |