[oe] [STABLE][PATCH] gsoap: use LDFLAGS (fixes QA error)
Jeremy Lainé
jeremy.laine at bolloretelecom.eu
Mon Apr 6 16:47:51 UTC 2009
From: Jeremy Lainé <jeremy.laine at m4x.org>
Signed-off-by: Jeremy Lainé <jeremy.laine at m4x.org>
---
recipes/gsoap/gsoap/rename_bogus_ldflags.patch | 12 ++++++++++++
recipes/gsoap/gsoap_2.7.7.bb | 5 +++--
2 files changed, 15 insertions(+), 2 deletions(-)
create mode 100644 recipes/gsoap/gsoap/rename_bogus_ldflags.patch
diff --git a/recipes/gsoap/gsoap/rename_bogus_ldflags.patch b/recipes/gsoap/gsoap/rename_bogus_ldflags.patch
new file mode 100644
index 0000000..5e4a01c
--- /dev/null
+++ b/recipes/gsoap/gsoap/rename_bogus_ldflags.patch
@@ -0,0 +1,12 @@
+diff -urN gsoap-2.7.orig/soapcpp2/wsdl/Makefile.am gsoap-2.7/soapcpp2/wsdl/Makefile.am
+--- gsoap-2.7.orig/soapcpp2/wsdl/Makefile.am 2005-07-15 21:04:42.000000000 +0000
++++ gsoap-2.7/soapcpp2/wsdl/Makefile.am 2009-04-06 14:22:23.000000000 +0000
+@@ -6,7 +6,7 @@
+ AUTOMAKE_OPTIONS = foreign 1.4
+
+ INCLUDES=-I$(top_builddir)/soapcpp2
+-LDFLAGS=$(INCLUDES)
++AM_LDFLAGS=$(INCLUDES)
+ SOAP=$(top_builddir)/soapcpp2/src/soapcpp2
+ SOAP_CPP_LIB=$(top_builddir)/soapcpp2/libgsoap++.a
+ SOAP_CPP_SRC=wsdlC.cpp
diff --git a/recipes/gsoap/gsoap_2.7.7.bb b/recipes/gsoap/gsoap_2.7.7.bb
index dc6ff6e..21a0ace 100644
--- a/recipes/gsoap/gsoap_2.7.7.bb
+++ b/recipes/gsoap/gsoap_2.7.7.bb
@@ -3,9 +3,10 @@ for the development of SOAP Web Services and clients."
SECTION = "devel"
LICENSE = "GPL"
DEPENDS = "gsoap-native"
-PR = "r1"
+PR = "r2"
-SRC_URI = "${SOURCEFORGE_MIRROR}/gsoap2/gsoap_${PV}.tar.gz"
+SRC_URI = "${SOURCEFORGE_MIRROR}/gsoap2/gsoap_${PV}.tar.gz \
+ file://rename_bogus_ldflags.patch;patch=1"
S = "${WORKDIR}/gsoap-2.7"
inherit autotools
--
1.6.2.1
More information about the Openembedded-devel
mailing list