public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michael Sterrett (mr_bones_)" <mr_bones_@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in games-arcade/xrick: xrick-021212-r1.ebuild ChangeLog
Date: Mon, 20 Sep 2010 15:50:01 +0000 (UTC)	[thread overview]
Message-ID: <20100920155001.809EF20051@flycatcher.gentoo.org> (raw)

mr_bones_    10/09/20 15:50:01

  Modified:             xrick-021212-r1.ebuild ChangeLog
  Log:
  EAPI=2; respect LDFLAGS (bug #338153)
  (Portage version: 2.1.8.3/cvs/Linux i686)

Revision  Changes    Path
1.14                 games-arcade/xrick/xrick-021212-r1.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-arcade/xrick/xrick-021212-r1.ebuild?rev=1.14&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-arcade/xrick/xrick-021212-r1.ebuild?rev=1.14&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-arcade/xrick/xrick-021212-r1.ebuild?r1=1.13&r2=1.14

Index: xrick-021212-r1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/games-arcade/xrick/xrick-021212-r1.ebuild,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- xrick-021212-r1.ebuild	24 Apr 2007 15:25:06 -0000	1.13
+++ xrick-021212-r1.ebuild	20 Sep 2010 15:50:01 -0000	1.14
@@ -1,12 +1,13 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/xrick/xrick-021212-r1.ebuild,v 1.13 2007/04/24 15:25:06 drizzt Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/xrick/xrick-021212-r1.ebuild,v 1.14 2010/09/20 15:50:01 mr_bones_ Exp $
 
+EAPI=2
 inherit eutils games
 
 DESCRIPTION="Clone of the Rick Dangerous adventure game from the 80's"
-SRC_URI="http://www.bigorno.net/xrick/${P}.tgz"
 HOMEPAGE="http://www.bigorno.net/xrick/"
+SRC_URI="http://www.bigorno.net/xrick/${P}.tgz"
 
 LICENSE="GPL-2 as-is"
 SLOT="0"
@@ -14,25 +15,30 @@
 IUSE=""
 RESTRICT="mirror" # bug #149097
 
-DEPEND="media-libs/libsdl"
+DEPEND="media-libs/libsdl[video]"
 
 src_unpack() {
 	unpack ${A}
 	cd "${S}"
 	unpack ./xrick.6.gz
+}
 
+src_prepare() {
 	sed -i \
 		-e "/^run from/d" \
 		-e "/data.zip/ s:the directory where xrick is:$(games_get_libdir)/${PN}.:" \
-		xrick.6 || die "sed xrick.6 failed"
+		xrick.6 || die
 
 	sed -i \
 		-e "s:data.zip:$(games_get_libdir)/${PN}/data.zip:" \
-		src/xrick.c || die "sed xrick.c failed"
+		src/xrick.c || die
 
 	sed -i \
 		-e "s/-g -ansi -pedantic -Wall -W -O2/${CFLAGS}/" \
-		Makefile || die "sed Makefile failed"
+		-e '/LDFLAGS/s/=/+=/' \
+		-e '/CC=/d' \
+		-e "/CPP=/ { s/gcc/\$(CC)/; s/\"/'/g }" \
+		Makefile || die
 }
 
 src_install() {



1.13                 games-arcade/xrick/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-arcade/xrick/ChangeLog?rev=1.13&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-arcade/xrick/ChangeLog?rev=1.13&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-arcade/xrick/ChangeLog?r1=1.12&r2=1.13

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/games-arcade/xrick/ChangeLog,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- ChangeLog	24 Apr 2007 15:25:06 -0000	1.12
+++ ChangeLog	20 Sep 2010 15:50:01 -0000	1.13
@@ -1,6 +1,10 @@
 # ChangeLog for games-arcade/xrick
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/xrick/ChangeLog,v 1.12 2007/04/24 15:25:06 drizzt Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/xrick/ChangeLog,v 1.13 2010/09/20 15:50:01 mr_bones_ Exp $
+
+  20 Sep 2010; Michael Sterrett <mr_bones_@gentoo.org>
+  xrick-021212-r1.ebuild:
+  EAPI=2; respect LDFLAGS (bug #338153)
 
   24 Apr 2007; Timothy Redaelli <drizzt@gentoo.org> xrick-021212-r1.ebuild:
   Add ~x86-fbsd keyword.






             reply	other threads:[~2010-09-20 15:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-20 15:50 Michael Sterrett (mr_bones_) [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-02-11  3:01 [gentoo-commits] gentoo-x86 commit in games-arcade/xrick: xrick-021212-r1.ebuild ChangeLog Michael Sterrett (mr_bones_)
2013-04-14  6:58 Ulrich Mueller (ulm)
2015-01-05 20:34 Alfredo Tupone (tupone)

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=20100920155001.809EF20051@flycatcher.gentoo.org \
    --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