summaryrefslogtreecommitdiff
path: root/recipes
diff options
context:
space:
mode:
authorFlorian Boor <florian.boor@kernelconcepts.de>2009-09-22 11:21:39 +0200
committerFlorian Boor <florian.boor@kernelconcepts.de>2009-09-22 11:30:35 +0200
commitd57cdd5ac12f75f0fe98ab06cfd956c6e59000c6 (patch)
tree39fa5bb72b6f70a3b5794fa7d8501d4e14edeca7 /recipes
parent867e52ca036a4d60773ffe0a4dfd718af5dfe090 (diff)
libetpan: Introduce patch to fix LDFLAGS for 0.57. Fixes QA issue.
Diffstat (limited to 'recipes')
-rw-r--r--recipes/libetpan/files/libetpan-ldflags.patch11
-rw-r--r--recipes/libetpan/libetpan_0.57.bb6
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 0000000000..438f44f15a
--- /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 e0108f9fbd..841ddfbc77 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"
+