summaryrefslogtreecommitdiffstats
path: root/extra
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-11-20 23:48:51 +0100
committertnut <thierryn1 at hispeed dot ch>2010-11-20 23:48:51 +0100
commit702c91fe32c9c7ae959408c2cd69072c473a108b (patch)
tree1fff47cc2a69d272fbd524137bbfcb57d3637309 /extra
parentd84469c663bc9dc77f7a00a2887a214f139a19b6 (diff)
downloadnutyx-extra-702c91fe32c9c7ae959408c2cd69072c473a108b.tar.gz
nutyx-extra-702c91fe32c9c7ae959408c2cd69072c473a108b.tar.bz2
nutyx-extra-702c91fe32c9c7ae959408c2cd69072c473a108b.tar.xz
nutyx-extra-702c91fe32c9c7ae959408c2cd69072c473a108b.zip
nfs-utils, ajout sed
Diffstat (limited to 'extra')
-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
}
-