--- gnutls-1.1.23-r1.ebuild.orig 2005-01-24 19:57:22.910829968 +0100 +++ gnutls-1.1.23-r1.ebuild 2005-01-24 19:56:00.963287888 +0100 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-libs/gnutls/gnutls-1.1.23-r1.ebuild,v 1.2 2005/01/24 08:22:41 trapni Exp $ -inherit eutils gnuconfig +inherit eutils gnuconfig libtool DESCRIPTION="A TLS 1.0 and SSL 3.0 implementation for the GNU project" HOMEPAGE="http://www.gnutls.org/" @@ -37,7 +37,9 @@ # libtasn1 # opencdk -src_compile() { +src_unpack() { + unpack ${A} + cd "${S}/includes/gnutls" epatch "${FILESDIR}/${PN}-1.1.23-extra.h.patch" || die "Cannot patch gnutls/extra.h" cd "${OLDPWD}" @@ -45,6 +47,11 @@ # Needed for mips and probably others gnuconfig_update + # Needed to avoid libtool to relink some stuffs to the old .so.11 libs + elibtoolize --reverse-deps +} + +src_compile() { local myconf="" use crypt || myconf="${myconf} --disable-extra-pki --disable-openpgp-authentication"