summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2007-01-14 03:27:22 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2007-01-14 03:27:22 +0000
commit304aaeb181222d71a8ca9c08c43bdc68b9b6fb82 (patch)
treedf83073c3fefaf2dbd198b5fc149b0d9cdb959f2
parent6756e24e976cd51bb41b2b2a2b92af2785a36d29 (diff)
Use pre-generated files and do not run 'rpcgen'.
-rw-r--r--package/nfs-utils/nfs-utils-disable-rpcgen.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/package/nfs-utils/nfs-utils-disable-rpcgen.patch b/package/nfs-utils/nfs-utils-disable-rpcgen.patch
new file mode 100644
index 000000000..f077f36cd
--- /dev/null
+++ b/package/nfs-utils/nfs-utils-disable-rpcgen.patch
@@ -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