public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/bar/
Date: Sat,  2 Dec 2017 16:15:25 +0000 (UTC)	[thread overview]
Message-ID: <1512231301.3d5103d43025604f8202693e24ad3c94295886ef.soap@gentoo> (raw)

commit:     3d5103d43025604f8202693e24ad3c94295886ef
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat Dec  2 15:45:10 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Dec  2 16:15:01 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d5103d4

sys-apps/bar: Port to EAPI 6

Package-Manager: Portage-2.3.16, Repoman-2.3.6

 sys-apps/bar/Manifest          |  2 +-
 sys-apps/bar/bar-1.11.1.ebuild | 27 +++++++++++++--------------
 2 files changed, 14 insertions(+), 15 deletions(-)

diff --git a/sys-apps/bar/Manifest b/sys-apps/bar/Manifest
index 967642185f7..edf1c0e40d4 100644
--- a/sys-apps/bar/Manifest
+++ b/sys-apps/bar/Manifest
@@ -1 +1 @@
-DIST bar_1.11.1.tar.gz 187144 SHA256 fa0f5ec5c8400316c2f4debdc6cdcb80e186e668c2e4471df4fec7bfcd626503 SHA512 18a0cf1946155252fc84bce64a1789a2a497c8a870a8494e4b2caecde567121dc6404855c021900358659702a33f8c4f749e9cd0bb1eb761cd650e2c56347035 WHIRLPOOL b5e144841d92af9f23cc66ba81ad921a81729d58189ef8e82694b124e9f77fb36dc2f8f379a957c699b09ed405b5cf9891adb50f89a62e1ce2477ce48fe3ae5c
+DIST bar_1.11.1.tar.gz 187144 BLAKE2B 9181ade20a9450bdc7c4ae21bb79fea1d8666ebb78c1ae6403bbc1ad46ec968efb3795da3d5cd2e87aa02d28f33105abb3cf629e04051b84e763ddaea9c9ee18 SHA512 18a0cf1946155252fc84bce64a1789a2a497c8a870a8494e4b2caecde567121dc6404855c021900358659702a33f8c4f749e9cd0bb1eb761cd650e2c56347035

diff --git a/sys-apps/bar/bar-1.11.1.ebuild b/sys-apps/bar/bar-1.11.1.ebuild
index ff678910027..0d1aadd2a03 100644
--- a/sys-apps/bar/bar-1.11.1.ebuild
+++ b/sys-apps/bar/bar-1.11.1.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=4
+EAPI=6
 
 inherit autotools
 
@@ -18,31 +18,30 @@ DEPEND="doc? ( >=app-doc/doxygen-1.3.5 )"
 RDEPEND=""
 
 src_prepare() {
-	sed -e '/^LDFLAGS/d' \
-		-e '/cd $(WEB_DIR) && $(MAKE)/d' -i Makefile.am || die
+	default
+	sed '/cd $(WEB_DIR) && $(MAKE)/d' -i Makefile.am || die
 	eautomake
 }
 
 src_configure() {
-	local myconf
-
-	# Fix wrt #113392
-	use sparc && myconf="${myconf} --disable-use-memalign"
-	econf ${myconf}
+	# Fix bug 113392
+	econf $(use_enable !sparc use-memalign)
 }
 
 src_compile() {
 	emake CFLAGS="${CFLAGS}"
+
 	if use doc; then
-		mkdir -p ../www/doxygen/${PV}
+		mkdir -p ../www/doxygen/${PV} || die
 		emake update-www
+		HTML_DOCS=( ../www/doxygen/${PV}/html/. )
+
+		# remove doxygen working files
+		find ../www/doxygen/${PV}/html \( -iname '*.map' -o -iname '*.md5' \) -delete || die
 	fi
 }
 
 src_install() {
-	emake DESTDIR="${D}" install
-	dodoc AUTHORS TODO TROUBLESHOOTING debian/changelog
-	if use doc ; then
-		dohtml -r ../www/doxygen/${PV}/html/*
-	fi
+	default
+	dodoc TROUBLESHOOTING debian/changelog
 }


             reply	other threads:[~2017-12-02 16:15 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-02 16:15 David Seifert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-06-09  3:39 [gentoo-commits] repo/gentoo:master commit in: sys-apps/bar/ Arthur Zamarin
2024-06-09  3:39 Arthur Zamarin
2024-06-09  3:39 Arthur Zamarin
2024-05-14  9:10 Arthur Zamarin
2017-04-05 13:23 Michael Weber

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=1512231301.3d5103d43025604f8202693e24ad3c94295886ef.soap@gentoo \
    --to=soap@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