summaryrefslogtreecommitdiff
path: root/recipes/libetpan
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/libetpan')
-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"
+