diff options
author | tnut <thierryn1 at hispeed dot ch> | 2010-11-20 23:48:51 +0100 |
---|---|---|
committer | tnut <thierryn1 at hispeed dot ch> | 2010-11-20 23:48:51 +0100 |
commit | 702c91fe32c9c7ae959408c2cd69072c473a108b (patch) | |
tree | 1fff47cc2a69d272fbd524137bbfcb57d3637309 /extra | |
parent | d84469c663bc9dc77f7a00a2887a214f139a19b6 (diff) | |
download | nutyx-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-x | extra/nfs-utils/Pkgfile | 18 |
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 } - |