[oe-commits] Florian Boor : libetpan: Introduce patch to fix LDFLAGS for 0.57. Fixes QA issue.
git version control
git at git.openembedded.org
Tue Sep 22 09:30:48 UTC 2009
Module: openembedded.git
Branch: org.openembedded.dev
Commit: d57cdd5ac12f75f0fe98ab06cfd956c6e59000c6
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=d57cdd5ac12f75f0fe98ab06cfd956c6e59000c6
Author: Florian Boor <florian.boor at kernelconcepts.de>
Date: Tue Sep 22 11:21:39 2009 +0200
libetpan: Introduce patch to fix LDFLAGS for 0.57. Fixes QA issue.
---
recipes/libetpan/files/libetpan-ldflags.patch | 11 +++++++++++
recipes/libetpan/libetpan_0.57.bb | 6 ++++--
2 files changed, 15 insertions(+), 2 deletions(-)
diff --git a/recipes/libetpan/files/libetpan-ldflags.patch b/recipes/libetpan/files/libetpan-ldflags.patch
new file mode 100644
index 0000000..438f44f
--- /dev/null
+++ b/recipes/libetpan/files/libetpan-ldflags.patch
@@ -0,0 +1,11 @@
+--- libetpan-0.57/configure.ac~ 2009-09-21 23:31:42.000000000 +0200
++++ libetpan-0.57/configure.ac 2009-09-21 23:31:42.000000000 +0200
+@@ -457,7 +457,7 @@
+ LDFLAGS="-$flag $LDFLAGS"
+ AC_TRY_LINK([], [pthread_create();],
+ [pthflag=yes; checkpthread=no],
+- [pthflag=no; LDFLAGS="$OLDCFLAGS"])
++ [pthflag=no; LDFLAGS="$OLDFLAGS"])
+ AC_MSG_RESULT($pthflag)
+ fi
+ done
diff --git a/recipes/libetpan/libetpan_0.57.bb b/recipes/libetpan/libetpan_0.57.bb
index e0108f9..841ddfb 100644
--- a/recipes/libetpan/libetpan_0.57.bb
+++ b/recipes/libetpan/libetpan_0.57.bb
@@ -4,10 +4,11 @@ HOMEPAGE = "http://www.etpan.org"
SECTION = "libs"
DEPENDS = "gnutls"
LICENSE = "BSD"
-PR = "r0"
+PR = "r1"
SRC_URI = "${SOURCEFORGE_MIRROR}/libetpan/libetpan-${PV}.tar.gz \
- file://libetpan-autoreconf.patch;patch=1"
+ file://libetpan-autoreconf.patch;patch=1 \
+ file://libetpan-ldflags.patch;patch=1"
inherit autotools pkgconfig gettext binconfig
@@ -21,3 +22,4 @@ do_stage() {
FILES_${PN} = "${libdir}/lib*.so.*"
FILES_${PN}-dev = "${bindir} ${includedir} ${libdir}/lib*.so ${libdir}/*.la ${libdir}/*.a ${libdir}/pkgconfig"
+
More information about the Openembedded-commits
mailing list