public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michael Sterrett" <mr_bones_@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-emulation/sdlmame/
Date: Sun, 15 May 2016 04:27:06 +0000 (UTC)	[thread overview]
Message-ID: <1463286409.93efc502fb1a3f0db53a9464135bde247225f48d.mr_bones_@gentoo> (raw)

commit:     93efc502fb1a3f0db53a9464135bde247225f48d
Author:     Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
AuthorDate: Sun May 15 04:26:13 2016 +0000
Commit:     Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
CommitDate: Sun May 15 04:26:49 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93efc502

games-emulation/sdlmame: improve makefile munging (bug #583044)

Package-Manager: portage-2.2.28

 games-emulation/sdlmame/sdlmame-0.173.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/games-emulation/sdlmame/sdlmame-0.173.ebuild b/games-emulation/sdlmame/sdlmame-0.173.ebuild
index edac5fe..0c3368e 100644
--- a/games-emulation/sdlmame/sdlmame-0.173.ebuild
+++ b/games-emulation/sdlmame/sdlmame-0.173.ebuild
@@ -53,12 +53,12 @@ S=${WORKDIR}
 
 # Function to disable a makefile option
 disable_feature() {
-	sed -i -e "/$1.*=/s:^:# :" makefile || die
+	sed -i -e "/^[ 	]*$1.*=/s:^:# :" makefile || die
 }
 
 # Function to enable a makefile option
 enable_feature() {
-	sed -i -e "/^#.*$1.*=/s:^#::"  makefile || die
+	sed -i -e "/^#.*$1.*=/s:^#[ 	]*::"  makefile || die
 }
 
 pkg_setup() {


             reply	other threads:[~2016-05-15  4:27 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-15  4:27 Michael Sterrett [this message]
  -- strict thread matches above, loose matches on Subject: below --
2018-04-03 19:42 [gentoo-commits] repo/gentoo:master commit in: games-emulation/sdlmame/ Jeroen Roovers
2016-05-10  0:28 Michael Sterrett
2016-05-03  6:10 Michael Sterrett
2016-02-14 10:11 Agostino Sarubbo
2016-01-15  9:03 Agostino Sarubbo
2016-01-09  7:05 Michael Sterrett
2015-12-12  2:46 Michael Sterrett
2015-11-30 19:27 Michael Sterrett
2015-11-26 18:45 Michael Sterrett
2015-11-25 20:15 Michael Sterrett
2015-11-20  6:36 Michael Sterrett

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=1463286409.93efc502fb1a3f0db53a9464135bde247225f48d.mr_bones_@gentoo \
    --to=mr_bones_@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