summaryrefslogtreecommitdiff
path: root/package/libtirpc/patches/patch-Makefile_am
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-12-06 10:24:52 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2015-12-06 10:25:35 +0100
commitbe49c58d77ce855f902728b0c68fc10bafee6257 (patch)
treeed0c6965ec9ce26d0257cfa6514ce60ed9b74d95 /package/libtirpc/patches/patch-Makefile_am
parent97643b0bf020cced1ba9c66e74604800b74a7b34 (diff)
libtirpc: update to latest stable version
Diffstat (limited to 'package/libtirpc/patches/patch-Makefile_am')
-rw-r--r--package/libtirpc/patches/patch-Makefile_am54
1 files changed, 54 insertions, 0 deletions
diff --git a/package/libtirpc/patches/patch-Makefile_am b/package/libtirpc/patches/patch-Makefile_am
new file mode 100644
index 000000000..80bc6991c
--- /dev/null
+++ b/package/libtirpc/patches/patch-Makefile_am
@@ -0,0 +1,54 @@
+--- libtirpc-1.0.1.orig/Makefile.am 2015-10-30 16:15:14.000000000 +0100
++++ libtirpc-1.0.1/Makefile.am 2015-11-29 16:38:58.340674483 +0100
+@@ -1,6 +1,12 @@
+-SUBDIRS = src man doc
++SUBDIRS = src man doc rpcgen
+ ACLOCAL_AMFLAGS = -I m4
+
++GENFILES = tirpc/rpcsvc/crypt.h \
++ tirpc/rpcsvc/mount.h \
++ tirpc/rpcsvc/nfs_prot.h \
++ tirpc/rpcsvc/rquota.h \
++ tirpc/rpc/rpcb_prot.h
++
+ noinst_HEADERS = tirpc/reentrant.h \
+ tirpc/getpeereid.h \
+ tirpc/libc_private.h \
+@@ -8,7 +14,9 @@ noinst_HEADERS = tirpc/reentrant.
+
+ nobase_include_HEADERS = tirpc/netconfig.h \
+ tirpc/rpcsvc/crypt.x \
+- tirpc/rpcsvc/crypt.h \
++ tirpc/rpcsvc/mount.x \
++ tirpc/rpcsvc/nfs_prot.x \
++ tirpc/rpcsvc/rquota.x \
+ tirpc/rpc/xdr.h \
+ tirpc/rpc/types.h \
+ tirpc/rpc/svc_soc.h \
+@@ -21,7 +29,6 @@ nobase_include_HEADERS = tirpc/netconfig
+ tirpc/rpc/rpcent.h \
+ tirpc/rpc/rpc_com.h \
+ tirpc/rpc/rpcb_prot.x \
+- tirpc/rpc/rpcb_prot.h \
+ tirpc/rpc/rpcb_clnt.h \
+ tirpc/rpc/raw.h \
+ tirpc/rpc/pmap_rmt.h \
+@@ -48,5 +55,17 @@ endif
+ pkgconfigdir=$(libdir)/pkgconfig
+ pkgconfig_DATA = libtirpc.pc
+
+-CLEANFILES = cscope.* *~
++nobase_nodist_include_HEADERS = $(GENFILES)
++BUILT_SOURCES = $(GENFILES)
++
++$(GENFILES): %.h: %.x $(top_builddir)/rpcgen/rpcgen
++ mkdir -p $(dir $@)
++ $(top_builddir)/rpcgen/rpcgen -h -o $@ $<
++
++$(top_builddir)/rpcgen/rpcgen: force
++ cd rpcgen && $(MAKE)
++
++force:
++
++CLEANFILES = cscope.* *~ $(GENFILES)
+ DISTCLEANFILES = Makefile.in libtirpc*.tar.gz