public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Marco Scardovi" <marco@scardovi.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: media-gfx/grafx2/
Date: Tue, 27 Apr 2021 20:20:37 +0000 (UTC)	[thread overview]
Message-ID: <1619554806.5b3e3ac052dd9fb24c85703b63548b00072449f8.marco@gentoo> (raw)

commit:     5b3e3ac052dd9fb24c85703b63548b00072449f8
Author:     Marco Scardovi <marco <AT> scardovi <DOT> com>
AuthorDate: Tue Apr 27 20:20:06 2021 +0000
Commit:     Marco Scardovi <marco <AT> scardovi <DOT> com>
CommitDate: Tue Apr 27 20:20:06 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5b3e3ac0

media-gfx/grafx2: fix build

Closes: https://bugs.gentoo.org/259896
^ this bug is really old and grafx2 is in GURU now

Closes: https://bugs.gentoo.org/784419
^ sed is not required

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Marco Scardovi <marco <AT> scardovi.com>

 media-gfx/grafx2/grafx2-2.7.2978-r100.ebuild | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/media-gfx/grafx2/grafx2-2.7.2978-r100.ebuild b/media-gfx/grafx2/grafx2-2.7.2978-r100.ebuild
index 32440b6e0..2e5d34f33 100644
--- a/media-gfx/grafx2/grafx2-2.7.2978-r100.ebuild
+++ b/media-gfx/grafx2/grafx2-2.7.2978-r100.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -16,6 +16,7 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE="lua ttf"
 REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )"
+
 # Test phase fails: make: *** [Makefile:1146: ../bin/tests-sdl] Error 1
 RESTRICT="test"
 
@@ -34,16 +35,15 @@ PATCHES=( "${FILESDIR}/${PN}-desktop-file.patch" )
 
 src_prepare() {
 	pushd ../ && default && popd
-	sed -i s/lua5\.1/lua/g Makefile || die "sed failed"
 }
 
 src_compile() {
 	use ttf || MYCNF="NOTTF=1"
 	use lua || MYCNF="${MYCNF} NOLUA=1"
 
-	emake ${MYCNF} || die "emake failed"
+	emake ${MYCNF}
 }
 
 src_install() {
-	emake ${MYCNF} DESTDIR="${D}" PREFIX="/usr" install || die "Install failed"
+	emake ${MYCNF} DESTDIR="${ED}" PREFIX="/usr" install
 }


             reply	other threads:[~2021-04-27 20:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-27 20:20 Marco Scardovi [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-12-23 23:59 [gentoo-commits] repo/proj/guru:dev commit in: media-gfx/grafx2/ Theo Anderson
2020-12-06 10:29 Theo Anderson

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=1619554806.5b3e3ac052dd9fb24c85703b63548b00072449f8.marco@gentoo \
    --to=marco@scardovi.com \
    --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