diff options
author | Jonathan Callen <abcd@gentoo.org> | 2010-09-12 20:29:52 +0000 |
---|---|---|
committer | Jonathan Callen <abcd@gentoo.org> | 2010-09-12 20:29:52 +0000 |
commit | 9d63eb22209145fa9daf96ce4cccc5e6ddc89b99 (patch) | |
tree | 5bae0181bdfa739c38fbf487e43ef944616a5b82 /sys-apps/ed | |
parent | x86 stable wrt bug #335043 (diff) | |
download | gentoo-2-9d63eb22209145fa9daf96ce4cccc5e6ddc89b99.tar.gz gentoo-2-9d63eb22209145fa9daf96ce4cccc5e6ddc89b99.tar.bz2 gentoo-2-9d63eb22209145fa9daf96ce4cccc5e6ddc89b99.zip |
Add prefix support and keywords, switch to EAPI=3 (approved by chainsaw)
(Portage version: v2.2_rc69-91-g2d3847a/cvs/Linux i686)
Diffstat (limited to 'sys-apps/ed')
-rw-r--r-- | sys-apps/ed/ChangeLog | 5 | ||||
-rw-r--r-- | sys-apps/ed/ed-1.5.ebuild | 17 |
2 files changed, 12 insertions, 10 deletions
diff --git a/sys-apps/ed/ChangeLog b/sys-apps/ed/ChangeLog index c5548ba10bb2..f158db688b06 100644 --- a/sys-apps/ed/ChangeLog +++ b/sys-apps/ed/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sys-apps/ed # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/ed/ChangeLog,v 1.82 2010/09/12 17:02:31 josejx Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/ed/ChangeLog,v 1.83 2010/09/12 20:29:52 abcd Exp $ + + 12 Sep 2010; Jonathan Callen <abcd@gentoo.org> ed-1.5.ebuild: + Add prefix support and keywords, switch to EAPI=3 (approved by chainsaw) 12 Sep 2010; Joseph Jezak <josejx@gentoo.org> ed-1.4.ebuild: Marked ppc stable for bug #336277. diff --git a/sys-apps/ed/ed-1.5.ebuild b/sys-apps/ed/ed-1.5.ebuild index 3c6e6e009f8a..67186fb9e8ae 100644 --- a/sys-apps/ed/ed-1.5.ebuild +++ b/sys-apps/ed/ed-1.5.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/ed/ed-1.5.ebuild,v 1.1 2010/09/06 20:33:31 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/ed/ed-1.5.ebuild,v 1.2 2010/09/12 20:29:52 abcd Exp $ + +EAPI="3" inherit eutils toolchain-funcs @@ -10,27 +12,24 @@ SRC_URI="mirror://gnu/ed/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" IUSE="" DEPEND="sys-apps/texinfo" RDEPEND="" -src_unpack() { - unpack ${A} - cd "${S}" +src_prepare() { epatch "${FILESDIR}"/${PN}-1.5-build.patch } -src_compile() { +src_configure() { tc-export CC # custom configure script ... econf wont work ./configure \ - --prefix=/ \ - --datadir=/usr/share \ + --prefix="${EPREFIX}"/ \ + --datadir="${EPREFIX}"/usr/share \ ${EXTRA_ECONF} \ || die - emake || die } src_install() { |