From d48d59b57a11ba768b191730538dc70f6f33fd8c Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Fri, 5 Mar 2010 16:25:26 +0000 Subject: Convert to EAPI=3 Package-Manager: portage-2.2.00.15738-prefix/cvs/Darwin powerpc --- sys-devel/gdb-apple/gdb-apple-962.ebuild | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) (limited to 'sys-devel/gdb-apple/gdb-apple-962.ebuild') diff --git a/sys-devel/gdb-apple/gdb-apple-962.ebuild b/sys-devel/gdb-apple/gdb-apple-962.ebuild index ff452845373a..86633707a6ac 100644 --- a/sys-devel/gdb-apple/gdb-apple-962.ebuild +++ b/sys-devel/gdb-apple/gdb-apple-962.ebuild @@ -1,6 +1,8 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb-apple/gdb-apple-962.ebuild,v 1.3 2009/11/27 08:40:03 grobian Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb-apple/gdb-apple-962.ebuild,v 1.4 2010/03/05 16:25:26 grobian Exp $ + +EAPI="3" inherit eutils flag-o-matic @@ -22,10 +24,7 @@ DEPEND="${RDEPEND} S=${WORKDIR}/gdb-${PV}/src -src_unpack() { - unpack ${A} - cd "${S}" - +src_prepare() { epatch "${FILESDIR}"/${PN}-768-texinfo.patch epatch "${FILESDIR}"/${PN}-768-darwin-arch.patch epatch "${FILESDIR}"/${PN}-962-darwin8.patch @@ -36,18 +35,15 @@ src_unpack() { sed -e 's/-Wno-long-double//' -i gdb/config/*/macosx.mh } -src_compile() { +src_configure() { replace-flags -O? -O2 econf \ --disable-werror \ $(use_enable nls) \ || die - emake || die } src_install() { - local ED=${ED-${D}} - emake DESTDIR="${D}" libdir=/nukeme includedir=/nukeme install || die rm -r "${D}"/nukeme || die rm -Rf "${ED}"/usr/${CHOST} || die -- cgit v1.2.3-65-gdbad