summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Black <dragonheart@gentoo.org>2006-09-17 13:45:34 +0000
committerDaniel Black <dragonheart@gentoo.org>2006-09-17 13:45:34 +0000
commit4b4a9862432621cb4d693815eb00aea2204495cc (patch)
tree1253636f03a0369ce40d2cbd19681e0086744c70 /net-libs/gnutls
parentRemove old revision. (diff)
downloadgentoo-2-4b4a9862432621cb4d693815eb00aea2204495cc.tar.gz
gentoo-2-4b4a9862432621cb4d693815eb00aea2204495cc.tar.bz2
gentoo-2-4b4a9862432621cb4d693815eb00aea2204495cc.zip
partial fix for selflinking - bug #147800 thanks Carsten Lohrke
(Portage version: 2.1.2_pre1)
Diffstat (limited to 'net-libs/gnutls')
-rw-r--r--net-libs/gnutls/ChangeLog6
-rw-r--r--net-libs/gnutls/files/gnutls-1.4.4-selflink.patch19
-rw-r--r--net-libs/gnutls/gnutls-1.4.4.ebuild11
3 files changed, 33 insertions, 3 deletions
diff --git a/net-libs/gnutls/ChangeLog b/net-libs/gnutls/ChangeLog
index 54fff205f9ec..d1ca1bb6d156 100644
--- a/net-libs/gnutls/ChangeLog
+++ b/net-libs/gnutls/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-libs/gnutls
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/gnutls/ChangeLog,v 1.101 2006/09/16 01:41:19 dragonheart Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/gnutls/ChangeLog,v 1.102 2006/09/17 13:45:34 dragonheart Exp $
+
+ 17 Sep 2006; Daniel Black <dragonheart@gentoo.org>
+ +files/gnutls-1.4.4-selflink.patch, gnutls-1.4.4.ebuild:
+ partial fix for selflinking - bug #147800 thanks Carsten Lohrke
*gnutls-1.4.4 (16 Sep 2006)
diff --git a/net-libs/gnutls/files/gnutls-1.4.4-selflink.patch b/net-libs/gnutls/files/gnutls-1.4.4-selflink.patch
new file mode 100644
index 000000000000..5a33a1fa40c1
--- /dev/null
+++ b/net-libs/gnutls/files/gnutls-1.4.4-selflink.patch
@@ -0,0 +1,19 @@
+--- configure.in.orig 2006-09-16 22:59:29.000000000 +0000
++++ configure.in 2006-09-16 23:00:08.000000000 +0000
+@@ -493,12 +493,12 @@
+ AC_LIBTOOL_WIN32_DLL
+ AM_PROG_LIBTOOL
+
+-LIBGNUTLS_LIBS="-L${libdir} -lgnutls $LIBTASN1_LIBS $LIBGCRYPT_LIBS $LIBS"
++LIBGNUTLS_LIBS="-L${libdir} $LIBTASN1_LIBS $LIBGCRYPT_LIBS $LIBS"
+ LIBGNUTLS_CFLAGS="$LIBGCRYPT_CFLAGS $LIBTASN1_CFLAGS -I${includedir}"
+ AC_SUBST(LIBGNUTLS_LIBS)
+ AC_SUBST(LIBGNUTLS_CFLAGS)
+
+-LIBGNUTLS_EXTRA_LIBS="-L${libdir} -lgnutls-extra $LIBOPENCDK_LIBS $LZO_LIBS $LIBGNUTLS_LIBS"
++LIBGNUTLS_EXTRA_LIBS="-L${libdir} $LIBOPENCDK_LIBS $LZO_LIBS $LIBGNUTLS_LIBS"
+ LIBGNUTLS_EXTRA_CFLAGS="$LIBOPENCDK_CFLAGS -I${includedir}"
+ AC_SUBST(LIBGNUTLS_EXTRA_LIBS)
+ AC_SUBST(LIBGNUTLS_EXTRA_CFLAGS)
+
+
diff --git a/net-libs/gnutls/gnutls-1.4.4.ebuild b/net-libs/gnutls/gnutls-1.4.4.ebuild
index 61b55c671d2b..d0f109a742f7 100644
--- a/net-libs/gnutls/gnutls-1.4.4.ebuild
+++ b/net-libs/gnutls/gnutls-1.4.4.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/gnutls/gnutls-1.4.4.ebuild,v 1.1 2006/09/16 01:41:19 dragonheart Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/gnutls/gnutls-1.4.4.ebuild,v 1.2 2006/09/17 13:45:34 dragonheart Exp $
-inherit eutils gnuconfig libtool
+inherit eutils autotools
DESCRIPTION="A TLS 1.0 and SSL 3.0 implementation for the GNU project"
HOMEPAGE="http://www.gnutls.org/"
@@ -28,6 +28,13 @@ DEPEND="${RDEPEND}
sys-devel/libtool
doc? ( dev-util/gtk-doc )"
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-selflink.patch
+ AT_M4DIR="${S}/m4 ${S}/gl/m4" _elibtoolize --copy --force
+ eautoconf -I m4 -I gl/m4
+}
src_compile() {
local myconf=""