public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Aaron Bauman" <bman@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-plugins/wmbio/
Date: Tue, 29 May 2018 13:18:06 +0000 (UTC)	[thread overview]
Message-ID: <1527599869.98410ba1c30bb7d22d2f234a7205e7c189592f04.bman@gentoo> (raw)

commit:     98410ba1c30bb7d22d2f234a7205e7c189592f04
Author:     Aaron Bauman <bman <AT> gentoo <DOT> org>
AuthorDate: Mon May 28 23:43:45 2018 +0000
Commit:     Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Tue May 29 13:17:49 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98410ba1

x11-plugins/wmbio: bump EAPI and drop eutils

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 x11-plugins/wmbio/wmbio-1.02.ebuild | 16 ++++++----------
 1 file changed, 6 insertions(+), 10 deletions(-)

diff --git a/x11-plugins/wmbio/wmbio-1.02.ebuild b/x11-plugins/wmbio/wmbio-1.02.ebuild
index b6fcce6d415..b2be120eed9 100644
--- a/x11-plugins/wmbio/wmbio-1.02.ebuild
+++ b/x11-plugins/wmbio/wmbio-1.02.ebuild
@@ -1,8 +1,7 @@
 # Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=2
-inherit eutils
+EAPI=6
 
 DESCRIPTION="A Window Maker applet that shows your biorhythm"
 HOMEPAGE="http://wmbio.sourceforge.net/"
@@ -22,18 +21,15 @@ DEPEND="${RDEPEND}
 S=${WORKDIR}/${P}/src
 
 src_prepare() {
+	default
 	# Honour Gentoo CFLAGS
-	sed -i "s/-g -O2/\$(CFLAGS)/" Makefile
+	sed -i "s/-g -O2/\$(CFLAGS)/" Makefile || die "sed for CFLAGS failed"
 
 	# Honour Gentoo LDFLAGS
-	sed -i "s/-o wmbio/\$(LDFLAGS) -o wmbio/" Makefile
-}
-
-src_compile() {
-	emake || die "emake failed"
+	sed -i "s/-o wmbio/\$(LDFLAGS) -o wmbio/" Makefile || die "sed for LDFLAGS failed"
 }
 
 src_install () {
-	dobin wmbio || die "dobin failed"
-	dodoc ../{AUTHORS,Changelog,NEWS,README} || die
+	dobin wmbio
+	dodoc ../{AUTHORS,Changelog,NEWS,README}
 }


             reply	other threads:[~2018-05-29 13:18 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-29 13:18 Aaron Bauman [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-04-15  7:33 [gentoo-commits] repo/gentoo:master commit in: x11-plugins/wmbio/ Arthur Zamarin
2024-04-15  7:07 Arthur Zamarin
2024-04-13 18:47 Arthur Zamarin
2024-04-13 18:39 Arthur Zamarin
2023-06-13 14:16 Bernard Cafarelli
2022-07-09 15:43 Bernard Cafarelli
2022-03-04  0:40 Sam James
2017-11-24 23:25 Bernard Cafarelli

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=1527599869.98410ba1c30bb7d22d2f234a7205e7c189592f04.bman@gentoo \
    --to=bman@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