diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2010-10-05 12:39:32 +0000 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2010-10-05 12:39:32 +0000 |
commit | 296120803e3ba7076371c5b40527e0dc57897f5d (patch) | |
tree | 14a9d33cfaa9680984099f142480dbe36a0a680c /games-puzzle/trimines | |
parent | Version bump. (diff) | |
download | gentoo-2-296120803e3ba7076371c5b40527e0dc57897f5d.tar.gz gentoo-2-296120803e3ba7076371c5b40527e0dc57897f5d.tar.bz2 gentoo-2-296120803e3ba7076371c5b40527e0dc57897f5d.zip |
Respect LDFLAGS. Bug #337111
(Portage version: 2.1.9.13/cvs/Linux i686)
Diffstat (limited to 'games-puzzle/trimines')
-rw-r--r-- | games-puzzle/trimines/ChangeLog | 7 | ||||
-rw-r--r-- | games-puzzle/trimines/trimines-1.3.0.ebuild | 14 |
2 files changed, 12 insertions, 9 deletions
diff --git a/games-puzzle/trimines/ChangeLog b/games-puzzle/trimines/ChangeLog index 1ee2b0361d23..a9f07879d3de 100644 --- a/games-puzzle/trimines/ChangeLog +++ b/games-puzzle/trimines/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for games-puzzle/trimines -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-puzzle/trimines/ChangeLog,v 1.4 2009/11/16 14:48:34 volkmar Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/trimines/ChangeLog,v 1.5 2010/10/05 12:39:32 tupone Exp $ + + 05 Oct 2010; Tupone Alfredo <tupone@gentoo.org> trimines-1.3.0.ebuild: + Respect LDFLAGS. Bug #337111 by flameeyes@gentoo.org 16 Nov 2009; Mounir Lamouri <volkmar@gentoo.org> trimines-1.3.0.ebuild: Keywording for ppc, bug 293220 diff --git a/games-puzzle/trimines/trimines-1.3.0.ebuild b/games-puzzle/trimines/trimines-1.3.0.ebuild index af9b852d2d23..30a5aecad9f5 100644 --- a/games-puzzle/trimines/trimines-1.3.0.ebuild +++ b/games-puzzle/trimines/trimines-1.3.0.ebuild @@ -1,6 +1,7 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-puzzle/trimines/trimines-1.3.0.ebuild,v 1.3 2009/11/16 14:48:34 volkmar Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/trimines/trimines-1.3.0.ebuild,v 1.4 2010/10/05 12:39:32 tupone Exp $ +EAPI="2" inherit eutils toolchain-funcs games @@ -13,15 +14,14 @@ SLOT="0" KEYWORDS="~ppc x86" IUSE="" -DEPEND="media-libs/libsdl" +RDEPEND="media-libs/libsdl" +DEPEND="${RDEPEND}" -src_unpack() { - unpack ${A} - cd "${S}" +src_prepare() { sed -i \ -e "s:data/:${GAMES_DATADIR}/${PN}/:" src/gfx.c \ || die "sed failed" - echo "${PN}: ; $(tc-getCC) ${CFLAGS} src/main.c -o ./${PN} \`sdl-config --cflags\` \`sdl-config --libs\`" > Makefile + echo "${PN}: ; $(tc-getCC) ${LDFLAGS} ${CFLAGS} src/main.c -o ./${PN} \`sdl-config --cflags\` \`sdl-config --libs\`" > Makefile } src_install() { |