diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2010-09-30 22:00:13 +0000 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2010-09-30 22:00:13 +0000 |
commit | 888e36fae86c10fcbf116fc2891948e291984480 (patch) | |
tree | d2e5a4d9946cece0b60dd1e519bc9083245089fc /games-arcade/trailblazer | |
parent | stable ppc64, bug 320325 (diff) | |
download | gentoo-2-888e36fae86c10fcbf116fc2891948e291984480.tar.gz gentoo-2-888e36fae86c10fcbf116fc2891948e291984480.tar.bz2 gentoo-2-888e36fae86c10fcbf116fc2891948e291984480.zip |
Respect LDFLAGS. Bug #337432
(Portage version: 2.1.8.3/cvs/Linux i686)
Diffstat (limited to 'games-arcade/trailblazer')
-rw-r--r-- | games-arcade/trailblazer/ChangeLog | 8 | ||||
-rw-r--r-- | games-arcade/trailblazer/files/trailblazer-0.9-ldflags.patch | 11 | ||||
-rw-r--r-- | games-arcade/trailblazer/trailblazer-0.9.ebuild | 13 |
3 files changed, 23 insertions, 9 deletions
diff --git a/games-arcade/trailblazer/ChangeLog b/games-arcade/trailblazer/ChangeLog index e6e9ef499451..eadc8969f567 100644 --- a/games-arcade/trailblazer/ChangeLog +++ b/games-arcade/trailblazer/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-arcade/trailblazer -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/trailblazer/ChangeLog,v 1.3 2007/04/24 15:16:11 drizzt Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-arcade/trailblazer/ChangeLog,v 1.4 2010/09/30 22:00:13 tupone Exp $ + + 30 Sep 2010; Tupone Alfredo <tupone@gentoo.org> trailblazer-0.9.ebuild, + +files/trailblazer-0.9-ldflags.patch: + Respect LDFLAGS. Bug #337432 by flameeyes@gentoo.org 24 Apr 2007; Timothy Redaelli <drizzt@gentoo.org> trailblazer-0.9.ebuild: Add ~x86-fbsd keyword. diff --git a/games-arcade/trailblazer/files/trailblazer-0.9-ldflags.patch b/games-arcade/trailblazer/files/trailblazer-0.9-ldflags.patch new file mode 100644 index 000000000000..034a74e75f9e --- /dev/null +++ b/games-arcade/trailblazer/files/trailblazer-0.9-ldflags.patch @@ -0,0 +1,11 @@ +--- Makefile.old 2010-09-30 23:56:21.000000000 +0200 ++++ Makefile 2010-09-30 23:56:35.000000000 +0200 +@@ -9,7 +9,7 @@ + bdir = /tmp/trailblazer-$(version) + + all: +- $(CC) $(sources) -o trailblazer $(cflags) $(libs) ++ $(CC) $(LDFLAGS) $(sources) -o trailblazer $(cflags) $(libs) + + install: + cp trailblazer /usr/bin diff --git a/games-arcade/trailblazer/trailblazer-0.9.ebuild b/games-arcade/trailblazer/trailblazer-0.9.ebuild index e6aebb0d6c10..224acc9337f3 100644 --- a/games-arcade/trailblazer/trailblazer-0.9.ebuild +++ b/games-arcade/trailblazer/trailblazer-0.9.ebuild @@ -1,8 +1,9 @@ -# 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/trailblazer/trailblazer-0.9.ebuild,v 1.2 2007/04/24 15:16:11 drizzt Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-arcade/trailblazer/trailblazer-0.9.ebuild,v 1.3 2010/09/30 22:00:13 tupone Exp $ +EAPI="2" -inherit games +inherit eutils games DESCRIPTION="Guide a ball through a succession of levels while avoiding holes" HOMEPAGE="http://www.autismuk.freeserve.co.uk/" @@ -15,10 +16,7 @@ IUSE="" DEPEND=">=media-libs/libsdl-1.2.7" -src_unpack() { - unpack ${A} - cd "${S}" - +src_prepare() { sed -i \ -e "s:-O2:${CFLAGS}:" \ Makefile || die "sed Makefile failed" @@ -27,6 +25,7 @@ src_unpack() { -e "s:/usr/share/trailblazer/trail\.dat:${GAMES_DATADIR}/${PN}/trail.dat:" \ -e "s:/usr/share/trailblazer/trail\.time:${GAMES_STATEDIR}/trail.time:" \ map.c || die "sed map.c failed" + epatch "${FILESDIR}"/${P}-ldflags.patch } src_install() { |