summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/rpcsvc-proto
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/rpcsvc-proto')
-rw-r--r--meta/recipes-extended/rpcsvc-proto/rpcsvc-proto.bb14
-rw-r--r--meta/recipes-extended/rpcsvc-proto/rpcsvc-proto/0001-Use-cross-compiled-rpcgen.patch11
2 files changed, 11 insertions, 14 deletions
diff --git a/meta/recipes-extended/rpcsvc-proto/rpcsvc-proto.bb b/meta/recipes-extended/rpcsvc-proto/rpcsvc-proto.bb
index 5aff2b56a6..20933153a3 100644
--- a/meta/recipes-extended/rpcsvc-proto/rpcsvc-proto.bb
+++ b/meta/recipes-extended/rpcsvc-proto/rpcsvc-proto.bb
@@ -15,25 +15,25 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=0daaf958d5531ab86169ec6e275e1517"
15SECTION = "libs" 15SECTION = "libs"
16DEPENDS += "rpcsvc-proto-native" 16DEPENDS += "rpcsvc-proto-native"
17 17
18PV = "1.4.2" 18PV = "1.4.4"
19 19
20SRCREV = "6f54e54455c073d08a56ea627c6cd2355a40eb53" 20SRCREV = "c65926005e50da02a4da3e26abc42eded36cd19d"
21 21
22SRC_URI = "git://github.com/thkukuk/${BPN} \ 22SRC_URI = "git://github.com/thkukuk/${BPN};branch=master;protocol=https \
23 file://0001-Use-cross-compiled-rpcgen.patch \ 23 file://0001-Use-cross-compiled-rpcgen.patch \
24 " 24 "
25 25
26S = "${WORKDIR}/git" 26S = "${WORKDIR}/git"
27 27
28inherit autotools gettext 28inherit autotools gettext
29 29
30EXTRA_OEMAKE_class-native = " -C rpcgen" 30EXTRA_OEMAKE:class-native = " -C rpcgen"
31 31
32do_configure_prepend() { 32do_configure:prepend() {
33 touch ${S}/ABOUT-NLS 33 touch ${S}/ABOUT-NLS
34} 34}
35 35
36do_install_append() { 36do_install:append() {
37 # They come from quota recipe 37 # They come from quota recipe
38 rm -rf ${D}${includedir}/rpcsvc/rquota.[hx] 38 rm -rf ${D}${includedir}/rpcsvc/rquota.[hx]
39} 39}
diff --git a/meta/recipes-extended/rpcsvc-proto/rpcsvc-proto/0001-Use-cross-compiled-rpcgen.patch b/meta/recipes-extended/rpcsvc-proto/rpcsvc-proto/0001-Use-cross-compiled-rpcgen.patch
index 208974004b..8e459b5634 100644
--- a/meta/recipes-extended/rpcsvc-proto/rpcsvc-proto/0001-Use-cross-compiled-rpcgen.patch
+++ b/meta/recipes-extended/rpcsvc-proto/rpcsvc-proto/0001-Use-cross-compiled-rpcgen.patch
@@ -10,14 +10,11 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
10 rpcsvc/Makefile.am | 2 +- 10 rpcsvc/Makefile.am | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-) 11 1 file changed, 1 insertion(+), 1 deletion(-)
12 12
13Index: git/rpcsvc/Makefile.am 13--- a/rpcsvc/Makefile.am
14=================================================================== 14+++ b/rpcsvc/Makefile.am
15--- git.orig/rpcsvc/Makefile.am 15@@ -12,4 +12,4 @@ nodist_rpcsvc_HEADERS = klm_prot.h nlm_p
16+++ git/rpcsvc/Makefile.am
17@@ -12,5 +12,5 @@ nodist_rpcsvc_HEADERS = klm_prot.h nlm_p
18 nfs_prot.h rquota.h sm_inter.h 16 nfs_prot.h rquota.h sm_inter.h
19 17
20 %.h: %.x 18 .x.h:
21- $(top_builddir)/rpcgen/rpcgen -h -o $@ $< 19- $(top_builddir)/rpcgen/rpcgen -h -o $@ $<
22+ rpcgen -h -o $@ $< 20+ rpcgen -h -o $@ $<
23