public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Akinori Hattori" <hattya@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/aee/
Date: Sun,  9 Jul 2017 13:30:49 +0000 (UTC)	[thread overview]
Message-ID: <1499606549.0ae1e3f61e2bbb3fb4b5757608271bc6f72be986.hattya@gentoo> (raw)

commit:     0ae1e3f61e2bbb3fb4b5757608271bc6f72be986
Author:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
AuthorDate: Sun Jul  9 13:22:29 2017 +0000
Commit:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
CommitDate: Sun Jul  9 13:22:29 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ae1e3f6

app-editors/aee: update to EAPI 6

Package-Manager: Portage-2.3.6, Repoman-2.3.1

 app-editors/aee/aee-2.2.15b.ebuild | 19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)

diff --git a/app-editors/aee/aee-2.2.15b.ebuild b/app-editors/aee/aee-2.2.15b.ebuild
index 7d50170e51a..3610053fa69 100644
--- a/app-editors/aee/aee-2.2.15b.ebuild
+++ b/app-editors/aee/aee-2.2.15b.ebuild
@@ -1,9 +1,9 @@
 # Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="4"
+EAPI="6"
 
-inherit eutils toolchain-funcs
+inherit toolchain-funcs
 
 DESCRIPTION="An easy to use text editor"
 #HOMEPAGE="http://mahon.cwx.net/ http://www.users.uswest.net/~hmahon/"
@@ -18,36 +18,37 @@ IUSE="X"
 RDEPEND="X? ( x11-libs/libX11 )"
 DEPEND="${RDEPEND}"
 
-src_prepare() {
-	epatch "${FILESDIR}"/${P}-ae-location.patch
+PATCHES=( "${FILESDIR}"/${P}-ae-location.patch )
+DOCS=( Changes README.${PN} ${PN}.i18n.guide ${PN}.msg )
 
+src_prepare() {
 	sed -i \
 		-e "s/make -/\$(MAKE) -/g" \
 		-e "/^buildaee/s/$/ localaee/" \
 		-e "/^buildxae/s/$/ localxae/" \
-		Makefile || die
+		Makefile
 
 	sed -i \
 		-e "s/\([\t ]\)cc /\1\\\\\$(CC) /" \
 		-e "/CFLAGS =/s/\" >/ \\\\\$(LDFLAGS)\" >/" \
 		-e "/other_cflag/s/ \${strip_option}//" \
-		create.mk.{aee,xae} || die
+		create.mk.{aee,xae}
 
-	tc-export CC
+	default
 }
 
 src_compile() {
 	local target="aee"
 	use X && target="both"
 
-	emake ${target}
+	emake CC="$(tc-getCC)" ${target}
 }
 
 src_install() {
 	dobin ${PN}
 	dosym ${PN} /usr/bin/rae
 	doman ${PN}.1
-	dodoc Changes README.${PN} ${PN}.i18n.guide ${PN}.msg
+	einstalldocs
 
 	insinto /usr/share/${PN}
 	doins help.ae


             reply	other threads:[~2017-07-09 13:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-09 13:30 Akinori Hattori [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-07-09 13:30 [gentoo-commits] repo/gentoo:master commit in: app-editors/aee/ Akinori Hattori
2020-05-10  9:42 Akinori Hattori
2020-05-10  9:42 Akinori Hattori
2020-05-16 15:04 Akinori Hattori
2025-03-10  3:02 Sam James

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1499606549.0ae1e3f61e2bbb3fb4b5757608271bc6f72be986.hattya@gentoo \
    --to=hattya@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox