summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-05-30 21:41:11 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-05-30 21:41:11 +0000
commitb63f8ca96c7574881ba64e3a716e9131c8ed50da (patch)
treefbbf5ead0e6f5a5f6842a9813165635ed4bc3d03 /dev-libs/iksemel/files/iksemel-1.3-gnutls-2.8.patch
parentFix skin install, bug 271904; change gtk use flag to gmplayer (diff)
downloadgentoo-2-b63f8ca96c7574881ba64e3a716e9131c8ed50da.tar.gz
gentoo-2-b63f8ca96c7574881ba64e3a716e9131c8ed50da.tar.bz2
gentoo-2-b63f8ca96c7574881ba64e3a716e9131c8ed50da.zip
Fix detection of >=net-libs/gnutls-2.7.1 (bug #268472). Fix automagic dependency on net-libs/gnutls.
(Portage version: 13625-svn/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/iksemel/files/iksemel-1.3-gnutls-2.8.patch')
-rw-r--r--dev-libs/iksemel/files/iksemel-1.3-gnutls-2.8.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/dev-libs/iksemel/files/iksemel-1.3-gnutls-2.8.patch b/dev-libs/iksemel/files/iksemel-1.3-gnutls-2.8.patch
new file mode 100644
index 000000000000..8c0aa49bc431
--- /dev/null
+++ b/dev-libs/iksemel/files/iksemel-1.3-gnutls-2.8.patch
@@ -0,0 +1,16 @@
+--- configure.ac
++++ configure.ac
+@@ -45,7 +45,12 @@
+ AC_CHECK_FUNCS(getopt_long)
+ AC_CHECK_FUNCS(getaddrinfo)
+
+-AM_PATH_LIBGNUTLS(,AC_DEFINE(HAVE_GNUTLS,,"Use libgnutls"))
++AC_ARG_WITH([gnutls],
++ [AS_HELP_STRING([--with-gnutls],
++ [Enable use of GnuTLS])])
++if test "$with_gnutls" != "no"; then
++ PKG_CHECK_MODULES(LIBGNUTLS, gnutls, AC_DEFINE(HAVE_GNUTLS,,"Use libgnutls"))
++fi
+
+ dnl Check -Wall flag of GCC
+ if test "x$GCC" = "xyes"; then