aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/talloc/talloc
diff options
context:
space:
mode:
authorAndrei Gherzan <andrei@gherzan.ro>2012-10-03 13:41:30 +0000
committerKoen Kooi <koen@dominion.thruhere.net>2012-10-04 15:52:27 +0200
commitd4c73cbdfede37e9dce069e8770c112f16ce0b5a (patch)
tree66e83c2a2a9dca3e9ff74a4f8866b8f13e548581 /meta-oe/recipes-support/talloc/talloc
parent3871d4561464eedc6a9a83b2c682ec7d29682873 (diff)
downloadmeta-openembedded-d4c73cbdfede37e9dce069e8770c112f16ce0b5a.tar.gz
talloc: Fix swig interface install path
Using the way swig interface is installed leads to a bad path in ${D}. The interface ended up in ${D}/${STAGING_DIR_NATIVE} which is wrong. The fix is to define a variable in recipe which is used in install rule by talloc. As well, LICENSE variable modified to reflect the real license: LGPL-3.0 Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'meta-oe/recipes-support/talloc/talloc')
-rw-r--r--meta-oe/recipes-support/talloc/talloc/install-swig-interface-in-SWINGLIBDIR.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/talloc/talloc/install-swig-interface-in-SWINGLIBDIR.patch b/meta-oe/recipes-support/talloc/talloc/install-swig-interface-in-SWINGLIBDIR.patch
new file mode 100644
index 0000000000..e1339a078e
--- /dev/null
+++ b/meta-oe/recipes-support/talloc/talloc/install-swig-interface-in-SWINGLIBDIR.patch
@@ -0,0 +1,23 @@
+Using the way swig interface is installed leads to a bad path in ${D}.
+The interface ended up in ${D}/${STAGING_DIR_NATIVE} which is wrong. The
+fix is to define a variable in recipe which is used in install rule by
+talloc.
+
+Upstream-Status: Inappropriate [build system specific]
+Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
+
+Index: talloc-2.0.1/talloc.mk
+===================================================================
+--- talloc-2.0.1.orig/talloc.mk 2009-10-11 16:42:24.000000000 +0300
++++ talloc-2.0.1/talloc.mk 2012-09-13 23:15:05.283539702 +0300
+@@ -23,8 +23,8 @@
+ ${INSTALLCMD} -m 644 talloc.pc $(DESTDIR)$(libdir)/pkgconfig
+ if [ -f talloc.3 ];then ${INSTALLCMD} -d $(DESTDIR)$(mandir)/man3; fi
+ if [ -f talloc.3 ];then ${INSTALLCMD} -m 644 talloc.3 $(DESTDIR)$(mandir)/man3; fi
+- which swig >/dev/null 2>&1 && ${INSTALLCMD} -d $(DESTDIR)`swig -swiglib` || true
+- which swig >/dev/null 2>&1 && ${INSTALLCMD} -m 644 talloc.i $(DESTDIR)`swig -swiglib` || true
++ which swig >/dev/null 2>&1 && ${INSTALLCMD} -d $(DESTDIR)/$(SWIGLIBDIR) || true
++ which swig >/dev/null 2>&1 && ${INSTALLCMD} -m 644 talloc.i $(DESTDIR)/$(SWIGLIBDIR) || true
+
+ doc:: talloc.3 talloc.3.html
+