diff options
author | Naohiro Aota <naota@gentoo.org> | 2014-07-08 00:46:30 +0000 |
---|---|---|
committer | Naohiro Aota <naota@gentoo.org> | 2014-07-08 00:46:30 +0000 |
commit | 61daea75a76f06f5af1dc7f038acf4ff1c39c9f3 (patch) | |
tree | a0c8e4164e90e99d62ef92d95e6c257d90fa6ef3 /app-editors | |
parent | Modify a patch to apply cleanly (diff) | |
download | gentoo-2-61daea75a76f06f5af1dc7f038acf4ff1c39c9f3.tar.gz gentoo-2-61daea75a76f06f5af1dc7f038acf4ff1c39c9f3.tar.bz2 gentoo-2-61daea75a76f06f5af1dc7f038acf4ff1c39c9f3.zip |
Use eautoconf #515410. Updated to EAPI=5
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key F8551514)
Diffstat (limited to 'app-editors')
-rw-r--r-- | app-editors/ng/ChangeLog | 7 | ||||
-rw-r--r-- | app-editors/ng/ng-1.5_beta1-r1.ebuild | 26 |
2 files changed, 21 insertions, 12 deletions
diff --git a/app-editors/ng/ChangeLog b/app-editors/ng/ChangeLog index e03d9720c85a..76da3dbf67c5 100644 --- a/app-editors/ng/ChangeLog +++ b/app-editors/ng/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for app-editors/ng -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-editors/ng/ChangeLog,v 1.13 2011/07/10 16:40:38 naota Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-editors/ng/ChangeLog,v 1.14 2014/07/08 00:46:30 naota Exp $ + + 08 Jul 2014; Naohiro Aota <naota@gentoo.org> ng-1.5_beta1-r1.ebuild: + Use eautoconf #515410. Updated to EAPI=5 10 Jul 2011; Naohiro Aota <naota@gentoo.org> ng-1.5_beta1-r1.ebuild, +files/ng-1.5beta1-configure.patch: diff --git a/app-editors/ng/ng-1.5_beta1-r1.ebuild b/app-editors/ng/ng-1.5_beta1-r1.ebuild index 34ec0eebd391..95afd4907ced 100644 --- a/app-editors/ng/ng-1.5_beta1-r1.ebuild +++ b/app-editors/ng/ng-1.5_beta1-r1.ebuild @@ -1,8 +1,10 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-editors/ng/ng-1.5_beta1-r1.ebuild,v 1.3 2011/07/10 16:40:38 naota Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-editors/ng/ng-1.5_beta1-r1.ebuild,v 1.4 2014/07/08 00:46:30 naota Exp $ -inherit eutils +EAPI=5 + +inherit eutils autotools MY_P="${P/_beta/beta}" @@ -23,23 +25,27 @@ DEPEND="${RDEPEND} S="${WORKDIR}/${MY_P}" -src_unpack() { - unpack ${A} - cd "${S}" +src_prepare() { epatch "${FILESDIR}/${MY_P}-ncurses.patch" epatch "${FILESDIR}/${MY_P}-configure.patch" sed -i -e "/NO_BACKUP/s/undef/define/" config.h || die "sed failed" - autoconf sys/unix/configure.in > configure + pushd sys/unix || die + eautoconf + popd + cp sys/unix/configure . || die +} + +src_configure() { + econf $(use_enable canna) } src_compile() { - econf $(use_enable canna) || die - emake CC="$(tc-getCC)" || die + emake CC="$(tc-getCC)" } src_install() { - dobin ng || die + dobin ng dodoc docs/* MANIFEST dot.ng insinto /usr/share/ng |