Use pre-generated files and do not run 'rpcgen'.
author"Steven J. Hill" <sjhill@realitydiluted.com>
Sun, 14 Jan 2007 03:27:22 +0000 (03:27 -0000)
committer"Steven J. Hill" <sjhill@realitydiluted.com>
Sun, 14 Jan 2007 03:27:22 +0000 (03:27 -0000)
package/nfs-utils/nfs-utils-disable-rpcgen.patch [new file with mode: 0644]

diff --git a/package/nfs-utils/nfs-utils-disable-rpcgen.patch b/package/nfs-utils/nfs-utils-disable-rpcgen.patch
new file mode 100644 (file)
index 0000000..f077f36
--- /dev/null
@@ -0,0 +1,18 @@
+diff -ur nfs-utils-1.0.10/utils/rquotad/Makefile.in nfs-utils-1.0.10-patched/utils/rquotad/Makefile.in
+--- nfs-utils-1.0.10/utils/rquotad/Makefile.in 2006-08-07 01:43:46.000000000 -0500
++++ nfs-utils-1.0.10-patched/utils/rquotad/Makefile.in 2007-01-13 21:24:26.971232703 -0600
+@@ -653,14 +653,6 @@
+ $(RPCGEN):
+       make -C $(top_srcdir)/tools/rpcgen all
+-$(GENFILES_XDR): %_xdr.c: %.x $(RPCGEN)
+-      test -f $@ && rm -rf $@ || true
+-      $(RPCGEN) -c -o $@ $<
+-
+-$(GENFILES_H): %.h: %.x $(RPCGEN)
+-      test -f $@ && rm -rf $@ || true
+-      $(RPCGEN) -h -o $@ $<
+-
+ #######################################################################
+ # The following allows the current practice of having
+ # daemons renamed during the install to include RPCPREFIX