- 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
This commit is contained in:
Alexey Dokuchaev 2013-07-26 15:16:14 +00:00
parent 6bb4788364
commit e7ede9d9fb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=323733
2 changed files with 6 additions and 4 deletions

View file

@ -13,15 +13,17 @@ COMMENT= Port of the original Triplane Turmoil game
LICENSE= GPLv3 LICENSE= GPLv3
USES= gmake
USE_SDL= sdl mixer USE_SDL= sdl mixer
USE_GMAKE= yes
WRKSRC= ${WRKDIR}/${DISTNAME} WRKSRC= ${WRKDIR}/${DISTNAME}
CFLAGS+= -DTRIPLANE_DATA=\\\"${DATADIR}\\\" CFLAGS+= -DTRIPLANE_DATA=\\\"${DATADIR}\\\"
MAKE_ENV= DATADIR="${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 <bsd.port.mk> .include <bsd.port.mk>

View file

@ -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 game exactly so that high scores remain comparable to the
original. original.
WWW: http://triplane.sourceforge.net WWW: http://triplane.sourceforge.net/