From 4aa3f824fdfec18ff702ec20214b4dff62f6603e Mon Sep 17 00:00:00 2001 From: Diego Elio Pettenò Date: Thu, 4 Jan 2007 13:20:23 +0000 Subject: Fix very broken autotools handling, closes bug #152518. (Portage version: 2.1.2_rc4-r5) --- net-misc/ser2net/ChangeLog | 7 +++++-- net-misc/ser2net/ser2net-2.3.ebuild | 23 ++++++++++++----------- 2 files changed, 17 insertions(+), 13 deletions(-) (limited to 'net-misc') diff --git a/net-misc/ser2net/ChangeLog b/net-misc/ser2net/ChangeLog index dc2e885c1492..4c2a0f3037c9 100644 --- a/net-misc/ser2net/ChangeLog +++ b/net-misc/ser2net/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for net-misc/ser2net -# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/ser2net/ChangeLog,v 1.15 2006/05/30 04:09:13 rajiv Exp $ +# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/ser2net/ChangeLog,v 1.16 2007/01/04 13:20:23 flameeyes Exp $ + + 04 Jan 2007; Diego Pettenò ser2net-2.3.ebuild: + Fix very broken autotools handling, closes bug #152518. 30 May 2006; Rajiv Aaron Manglani -ser2net-2.2-r1.ebuild, ser2net-2.3.ebuild: diff --git a/net-misc/ser2net/ser2net-2.3.ebuild b/net-misc/ser2net/ser2net-2.3.ebuild index 2b506fd0c86f..ba35814bdd0f 100644 --- a/net-misc/ser2net/ser2net-2.3.ebuild +++ b/net-misc/ser2net/ser2net-2.3.ebuild @@ -1,8 +1,11 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/ser2net/ser2net-2.3.ebuild,v 1.5 2006/05/30 04:09:13 rajiv Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/ser2net/ser2net-2.3.ebuild,v 1.6 2007/01/04 13:20:23 flameeyes Exp $ -inherit eutils +WANT_AUTOCONF="latest" +WANT_AUTOMAKE="latest" + +inherit eutils autotools DESCRIPTION="Serial To Network Proxy" SRC_URI="mirror://sourceforge/ser2net/${P}.tar.gz" @@ -16,17 +19,15 @@ DEPEND="tcpd? ( sys-apps/tcp-wrappers )" IUSE="tcpd" -src_compile() { - ebegin "Recreating configure" - autoconf || die "Error: autoconf failed" - eend $? +src_unpack() { + unpack ${A} + cd "${S}" - ebegin "Recreating Makefile" - automake || die "Error: automake failed" - eend $? + eautoreconf +} +src_compile() { econf $(use_with tcpd tcp-wrappers) || die "Error: econf failed" - libtoolize --copy --force emake || die "Error: emake failed" } -- cgit v1.2.3-65-gdbad