From e7ede9d9fb30d61a303aed37fe1286c2b898d2d4 Mon Sep 17 00:00:00 2001 From: Alexey Dokuchaev Date: Fri, 26 Jul 2013 15:16:14 +0000 Subject: [PATCH] - Try to fix parallel builds: setting ALL_TARGET to "depend all" would not work in -jX case due to races; thus, move depend generation to pre-build - While here, convert USE_GMAKE and fix badly indented line by one tabstop - As advised by the Porter's Handbook, terminate URL with a slash (in port description text) Reported by: pointyhat-west --- games/triplane/Makefile | 8 +++++--- games/triplane/pkg-descr | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/games/triplane/Makefile b/games/triplane/Makefile index 0cdbd3d35638..11723a79bbb5 100644 --- a/games/triplane/Makefile +++ b/games/triplane/Makefile @@ -13,15 +13,17 @@ COMMENT= Port of the original Triplane Turmoil game LICENSE= GPLv3 +USES= gmake USE_SDL= sdl mixer -USE_GMAKE= yes WRKSRC= ${WRKDIR}/${DISTNAME} CFLAGS+= -DTRIPLANE_DATA=\\\"${DATADIR}\\\" MAKE_ENV= DATADIR="${DATADIR}" -ALL_TARGET= depend all +MAN6= triplane.6 -MAN6= triplane.6 +# ALL_TARGET="depend all" would not work in -jX case due to races +pre-build: + ${GMAKE} -C ${BUILD_WRKSRC} depend .include diff --git a/games/triplane/pkg-descr b/games/triplane/pkg-descr index a58086481abc..30bd3fc67e75 100644 --- a/games/triplane/pkg-descr +++ b/games/triplane/pkg-descr @@ -4,4 +4,4 @@ the original Triplane Turmoil game for DOS and aims to match the original game exactly so that high scores remain comparable to the original. -WWW: http://triplane.sourceforge.net +WWW: http://triplane.sourceforge.net/