summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-11-13 19:56:58 +0000
committerRichard Purdie <richard@openedhand.com>2007-11-13 19:56:58 +0000
commit210caef864c14cf30c224f2ae09253bdf6932d7e (patch)
treec06e7ab0da63eed24495229b75bf7b6395c190b7
parent18f2e2772aa8a741317639bcd82be013277922bb (diff)
downloadpoky-210caef864c14cf30c224f2ae09253bdf6932d7e.tar.gz
gnutls: Remove some bad flags from configure.ac
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3142 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r--meta/packages/gnutls/gnutls.inc3
-rw-r--r--meta/packages/gnutls/gnutls/configure_madness.patch22
-rw-r--r--meta/packages/gnutls/gnutls_1.6.3.bb2
3 files changed, 25 insertions, 2 deletions
diff --git a/meta/packages/gnutls/gnutls.inc b/meta/packages/gnutls/gnutls.inc
index ab5ba1d1d0..2211d5f798 100644
--- a/meta/packages/gnutls/gnutls.inc
+++ b/meta/packages/gnutls/gnutls.inc
@@ -6,7 +6,8 @@ LICENSE = "LGPL"
6 6
7SRC_URI = "ftp://ftp.gnutls.org/pub/gnutls/gnutls-${PV}.tar.bz2 \ 7SRC_URI = "ftp://ftp.gnutls.org/pub/gnutls/gnutls-${PV}.tar.bz2 \
8 file://gnutls-openssl.patch;patch=1 \ 8 file://gnutls-openssl.patch;patch=1 \
9 file://gnutls-texinfo-euro.patch;patch=1" 9 file://gnutls-texinfo-euro.patch;patch=1 \
10 file://configure_madness.patch;patch=1 "
10 11
11inherit autotools binconfig pkgconfig 12inherit autotools binconfig pkgconfig
12 13
diff --git a/meta/packages/gnutls/gnutls/configure_madness.patch b/meta/packages/gnutls/gnutls/configure_madness.patch
new file mode 100644
index 0000000000..26111dfe96
--- /dev/null
+++ b/meta/packages/gnutls/gnutls/configure_madness.patch
@@ -0,0 +1,22 @@
1Index: gnutls-1.6.3/configure.in
2===================================================================
3--- gnutls-1.6.3.orig/configure.in 2007-05-25 12:28:59.000000000 +0000
4+++ gnutls-1.6.3/configure.in 2007-11-13 17:53:23.000000000 +0000
5@@ -574,13 +574,13 @@
6 AC_LIBTOOL_WIN32_DLL
7 AC_PROG_LIBTOOL
8
9-LIBGNUTLS_LIBS="-L${libdir} -lgnutls $LIBTASN1_LIBS $LIBGCRYPT_LIBS $LIBS"
10-LIBGNUTLS_CFLAGS="$LIBGCRYPT_CFLAGS $LIBTASN1_CFLAGS -I${includedir}"
11+LIBGNUTLS_LIBS="-lgnutls $LIBTASN1_LIBS $LIBGCRYPT_LIBS $LIBS"
12+LIBGNUTLS_CFLAGS="$LIBGCRYPT_CFLAGS $LIBTASN1_CFLAGS"
13 AC_SUBST(LIBGNUTLS_LIBS)
14 AC_SUBST(LIBGNUTLS_CFLAGS)
15
16-LIBGNUTLS_EXTRA_LIBS="-L${libdir} -lgnutls-extra $LIBOPENCDK_LIBS $LZO_LIBS $LIBGNUTLS_LIBS"
17-LIBGNUTLS_EXTRA_CFLAGS="$LIBOPENCDK_CFLAGS -I${includedir}"
18+LIBGNUTLS_EXTRA_LIBS="-lgnutls-extra $LIBOPENCDK_LIBS $LZO_LIBS $LIBGNUTLS_LIBS"
19+LIBGNUTLS_EXTRA_CFLAGS="$LIBOPENCDK_CFLAGS"
20 AC_SUBST(LIBGNUTLS_EXTRA_LIBS)
21 AC_SUBST(LIBGNUTLS_EXTRA_CFLAGS)
22 export ac_full
diff --git a/meta/packages/gnutls/gnutls_1.6.3.bb b/meta/packages/gnutls/gnutls_1.6.3.bb
index 6e0f6000d3..a5b5341156 100644
--- a/meta/packages/gnutls/gnutls_1.6.3.bb
+++ b/meta/packages/gnutls/gnutls_1.6.3.bb
@@ -1,2 +1,2 @@
1require gnutls.inc 1require gnutls.inc
2PR = "r2" 2PR = "r3"