diff options
author | Samuli Suominen <drac@gentoo.org> | 2008-01-18 12:24:58 +0000 |
---|---|---|
committer | Samuli Suominen <drac@gentoo.org> | 2008-01-18 12:24:58 +0000 |
commit | 8b94be54ad504c4657582811d44af34eff56b058 (patch) | |
tree | 2382c47b8783f88941d630b17e58f4385391bc24 /games-puzzle | |
parent | bump (diff) | |
download | gentoo-2-8b94be54ad504c4657582811d44af34eff56b058.tar.gz gentoo-2-8b94be54ad504c4657582811d44af34eff56b058.tar.bz2 gentoo-2-8b94be54ad504c4657582811d44af34eff56b058.zip |
Fixed building with asneeded.
(Portage version: 2.1.4)
Diffstat (limited to 'games-puzzle')
-rw-r--r-- | games-puzzle/wmpuzzle/ChangeLog | 6 | ||||
-rw-r--r-- | games-puzzle/wmpuzzle/files/wmpuzzle-0.5.0-asneeded.patch | 12 | ||||
-rw-r--r-- | games-puzzle/wmpuzzle/wmpuzzle-0.5.0.ebuild | 8 |
3 files changed, 24 insertions, 2 deletions
diff --git a/games-puzzle/wmpuzzle/ChangeLog b/games-puzzle/wmpuzzle/ChangeLog index 43c563034736..77b8ec5d6695 100644 --- a/games-puzzle/wmpuzzle/ChangeLog +++ b/games-puzzle/wmpuzzle/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-puzzle/wmpuzzle # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-puzzle/wmpuzzle/ChangeLog,v 1.1 2008/01/17 20:01:59 drac Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/wmpuzzle/ChangeLog,v 1.2 2008/01/18 12:24:58 drac Exp $ + + 18 Jan 2008; Samuli Suominen <drac@gentoo.org> + +files/wmpuzzle-0.5.0-asneeded.patch, wmpuzzle-0.5.0.ebuild: + Fixed building with asneeded. *wmpuzzle-0.5.0 (17 Jan 2008) diff --git a/games-puzzle/wmpuzzle/files/wmpuzzle-0.5.0-asneeded.patch b/games-puzzle/wmpuzzle/files/wmpuzzle-0.5.0-asneeded.patch new file mode 100644 index 000000000000..133a9de0eecc --- /dev/null +++ b/games-puzzle/wmpuzzle/files/wmpuzzle-0.5.0-asneeded.patch @@ -0,0 +1,12 @@ +diff -ur wmpuzzle-0.5.0.orig/src/Makefile.in wmpuzzle-0.5.0/src/Makefile.in +--- wmpuzzle-0.5.0.orig/src/Makefile.in 2006-04-16 11:16:25.000000000 +0300 ++++ wmpuzzle-0.5.0/src/Makefile.in 2008-01-18 14:17:54.000000000 +0200 +@@ -17,7 +17,7 @@ + all: wmpuzzle + + wmpuzzle: wmpuzzle.o wmgeneral.o +- $(CC) $(LDFLAGS) $(LIBS) -o $@ $^ ++ $(CC) $(LDFLAGS) -o $@ $^ $(LIBS) + + wmpuzzle.o: wmpuzzle.c wmpuzzle.h config.h linux.xpm daemon.xpm + wmgeneral.o: wmgeneral.c wmgeneral.h diff --git a/games-puzzle/wmpuzzle/wmpuzzle-0.5.0.ebuild b/games-puzzle/wmpuzzle/wmpuzzle-0.5.0.ebuild index 9bb3453f7ef8..d6f3390d7241 100644 --- a/games-puzzle/wmpuzzle/wmpuzzle-0.5.0.ebuild +++ b/games-puzzle/wmpuzzle/wmpuzzle-0.5.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-puzzle/wmpuzzle/wmpuzzle-0.5.0.ebuild,v 1.1 2008/01/17 20:01:59 drac Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/wmpuzzle/wmpuzzle-0.5.0.ebuild,v 1.2 2008/01/18 12:24:58 drac Exp $ inherit eutils games @@ -21,6 +21,12 @@ DEPEND="${RDEPEND} S=${WORKDIR}/${P}/src +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-asneeded.patch +} + src_install() { dogamesbin ${PN} || die "dogamesbin failed." |