diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2010-09-22 07:10:11 +0000 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2010-09-22 07:10:11 +0000 |
commit | b8bfb782639533a0320beb2a10145577ca496c94 (patch) | |
tree | c5bcb8596fa26a781b53adf6a024f7841607d783 /games-arcade | |
parent | Respect LDFLAGS. Bug #337920 (diff) | |
download | gentoo-2-b8bfb782639533a0320beb2a10145577ca496c94.tar.gz gentoo-2-b8bfb782639533a0320beb2a10145577ca496c94.tar.bz2 gentoo-2-b8bfb782639533a0320beb2a10145577ca496c94.zip |
Respect LDFLAGS. Bug #337914
(Portage version: 2.1.8.3/cvs/Linux i686)
Diffstat (limited to 'games-arcade')
-rw-r--r-- | games-arcade/digger/ChangeLog | 8 | ||||
-rw-r--r-- | games-arcade/digger/digger-20020314.ebuild | 6 | ||||
-rw-r--r-- | games-arcade/digger/files/digger-20020314-ldflags.patch | 11 |
3 files changed, 21 insertions, 4 deletions
diff --git a/games-arcade/digger/ChangeLog b/games-arcade/digger/ChangeLog index a626c9e078bd..1da347082f0a 100644 --- a/games-arcade/digger/ChangeLog +++ b/games-arcade/digger/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-arcade/digger -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/digger/ChangeLog,v 1.10 2009/11/29 21:35:32 mr_bones_ Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-arcade/digger/ChangeLog,v 1.11 2010/09/22 07:10:10 tupone Exp $ + + 22 Sep 2010; Tupone Alfredo <tupone@gentoo.org> digger-20020314.ebuild, + +files/digger-20020314-ldflags.patch: + Respect LDFLAGS. Bug #337914 by flameeyes@gentoo.org 29 Nov 2009; Michael Sterrett <mr_bones_@gentoo.org> digger-20020314.ebuild: diff --git a/games-arcade/digger/digger-20020314.ebuild b/games-arcade/digger/digger-20020314.ebuild index 9c9810122b04..05cf21bb6073 100644 --- a/games-arcade/digger/digger-20020314.ebuild +++ b/games-arcade/digger/digger-20020314.ebuild @@ -1,6 +1,6 @@ -# 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-arcade/digger/digger-20020314.ebuild,v 1.12 2009/11/29 21:35:32 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-arcade/digger/digger-20020314.ebuild,v 1.13 2010/09/22 07:10:10 tupone Exp $ EAPI=2 inherit eutils games @@ -16,6 +16,8 @@ IUSE="" DEPEND="media-libs/libsdl[video]" +PATCHES=( "${FILESDIR}"/${P}-ldflags.patch ) + src_compile() { emake -f Makefile.sdl || die } diff --git a/games-arcade/digger/files/digger-20020314-ldflags.patch b/games-arcade/digger/files/digger-20020314-ldflags.patch new file mode 100644 index 000000000000..0d25cf31695d --- /dev/null +++ b/games-arcade/digger/files/digger-20020314-ldflags.patch @@ -0,0 +1,11 @@ +--- Makefile.sdl.old 2010-09-22 09:04:29.000000000 +0200 ++++ Makefile.sdl 2010-09-22 09:05:13.000000000 +0200 +@@ -39,7 +39,7 @@ + all: digger$(ESUFFIX) + + digger$(ESUFFIX): $(OBJS) +- $(CC) -o digger$(ESUFFIX) $(OBJS) $(LIBS) ++ $(CC) $(LDFLAGS) -o digger$(ESUFFIX) $(OBJS) $(LIBS) + + $(OBJS): %.o: %.c + $(CC) -c $(CFLAGS) $< -o $@ |