summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2015-01-07 14:01:27 +0000
committerAlfredo Tupone <tupone@gentoo.org>2015-01-07 14:01:27 +0000
commit83522124af168673c025cafe2e2c8292941768d4 (patch)
tree07db26a5f0fc2be7a60f24074dbfb1e6bc25f61f /games-arcade/tuxpuck
parentReassign and cleanup as discussed at https://www.mail-archive.com/gentoo-dev@... (diff)
downloadgentoo-2-83522124af168673c025cafe2e2c8292941768d4.tar.gz
gentoo-2-83522124af168673c025cafe2e2c8292941768d4.tar.bz2
gentoo-2-83522124af168673c025cafe2e2c8292941768d4.zip
Fix parallel make
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0145142D)
Diffstat (limited to 'games-arcade/tuxpuck')
-rw-r--r--games-arcade/tuxpuck/ChangeLog6
-rw-r--r--games-arcade/tuxpuck/files/tuxpuck-0.8.2-parallel.patch58
-rw-r--r--games-arcade/tuxpuck/tuxpuck-0.8.2-r1.ebuild8
3 files changed, 67 insertions, 5 deletions
diff --git a/games-arcade/tuxpuck/ChangeLog b/games-arcade/tuxpuck/ChangeLog
index 3d09ea5d6097..75039f6cf134 100644
--- a/games-arcade/tuxpuck/ChangeLog
+++ b/games-arcade/tuxpuck/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-arcade/tuxpuck
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/tuxpuck/ChangeLog,v 1.16 2015/01/05 20:18:16 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/tuxpuck/ChangeLog,v 1.17 2015/01/07 14:01:27 tupone Exp $
+
+ 07 Jan 2015; Tupone Alfredo <tupone@gentoo.org> tuxpuck-0.8.2-r1.ebuild,
+ +files/tuxpuck-0.8.2-parallel.patch:
+ Fix parallel make
05 Jan 2015; Tupone Alfredo <tupone@gentoo.org> tuxpuck-0.8.2-r1.ebuild:
EAPI 5
diff --git a/games-arcade/tuxpuck/files/tuxpuck-0.8.2-parallel.patch b/games-arcade/tuxpuck/files/tuxpuck-0.8.2-parallel.patch
new file mode 100644
index 000000000000..cdcdecc42c32
--- /dev/null
+++ b/games-arcade/tuxpuck/files/tuxpuck-0.8.2-parallel.patch
@@ -0,0 +1,58 @@
+--- data/Makefile.old 2015-01-07 14:22:34.852150894 +0100
++++ data/Makefile 2015-01-07 14:57:44.079822614 +0100
+@@ -15,20 +15,29 @@
+ ar r libdata.a $(OBJS)
+ ranlib libdata.a
+
+-$(SOURCES):
+- cd ../utils/; $(MAKE)
++monos_fnt.c:
+ ../utils/ttf2font ttfs/mono.ttf monos.fnt 30 30
+ ../utils/data2c monos.fnt monos_fnt
++ rm monos.fnt
++monob_fnt.c:
+ ../utils/ttf2font ttfs/mono.ttf monob.fnt 45 45
+ ../utils/data2c monob.fnt monob_fnt
+- rm *.fnt
++ rm monob.fnt
++title_jpg.c:
+ ../utils/data2c jpgs/title.jpg title_jpg
++board_jpg.c:
+ ../utils/data2c jpgs/board.jpg board_jpg
++logo_jpg.c:
+ ../utils/data2c jpgs/logo.jpg logo_jpg
++pad_png.c: pngs/pad.png
+ ../utils/data2c pngs/pad.png pad_png
++puck_png.c: pngs/puck.png
+ ../utils/data2c pngs/puck.png puck_png
++scoreboard_png.c:
+ ../utils/data2c pngs/scoreboard.png scoreboard_png
++mousebar_png.c:
+ ../utils/data2c pngs/mousebar.png mousebar_png
++glass_png.c:
+ ../utils/data2c pngs/glass.png glass_png
+ ../utils/data2c pngs/piece1.png piece1_png
+ ../utils/data2c pngs/piece2.png piece2_png
+@@ -37,15 +46,22 @@
+ ../utils/data2c pngs/piece5.png piece5_png
+ mv glass_png.c temp; cat temp piece?_png.c > glass_png.c
+ rm piece?_png.c temp
++crash_ogg.c:
+ ../utils/data2c sounds/crash.ogg crash_ogg
++nock_ogg.c:
+ ../utils/data2c sounds/nock.ogg nock_ogg
++tux_eyes_spr.c:
+ # Tux
+ ../utils/anim tux/eyes.ac tux_eyes.spr
+ ../utils/data2c tux_eyes.spr tux_eyes_spr
+ rm tux_eyes.spr
++tux_png.c: tux/tux.png
+ ../utils/data2c tux/tux.png tux_png
++tux_apps_ogg.c:
+ ../utils/data2c tux/apps.ogg tux_apps_ogg
++tux_boos_ogg.c:
+ ../utils/data2c tux/boos.ogg tux_boos_ogg
++arcana_png.c:
+ # Arcana
+ ../utils/data2c arcana/arcana.png arcana_png
+ clean :
diff --git a/games-arcade/tuxpuck/tuxpuck-0.8.2-r1.ebuild b/games-arcade/tuxpuck/tuxpuck-0.8.2-r1.ebuild
index ba599e90bf50..32f15f2f8f64 100644
--- a/games-arcade/tuxpuck/tuxpuck-0.8.2-r1.ebuild
+++ b/games-arcade/tuxpuck/tuxpuck-0.8.2-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/tuxpuck/tuxpuck-0.8.2-r1.ebuild,v 1.9 2015/01/05 20:18:16 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/tuxpuck/tuxpuck-0.8.2-r1.ebuild,v 1.10 2015/01/07 14:01:27 tupone Exp $
EAPI=5
inherit eutils games
@@ -35,13 +35,13 @@ src_prepare() {
data/Makefile \
|| die "sed failed"
epatch "${FILESDIR}"/${P}-ldflags.patch \
- "${FILESDIR}"/${P}-png15.patch
+ "${FILESDIR}"/${P}-png15.patch \
+ "${FILESDIR}"/${P}-parallel.patch
}
src_compile() {
emake -C utils
- # Note that the Makefiles for tuxpuck are buggy so -j1 is used.
- emake -j1 -C data
+ emake -C data
emake
}