diff options
author | kris <kris@FreeBSD.org> | 2003-06-05 06:43:38 +0800 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2003-06-05 06:43:38 +0800 |
commit | f6ac0b4935ea004895ab5cc2800059b8d12c82ba (patch) | |
tree | 91894094142566c88cf43e76bf56bd120a3c8119 /games/nil | |
parent | a202830df7532e2bb404143c7bf5ee68b97df9bf (diff) | |
download | freebsd-ports-gnome-f6ac0b4935ea004895ab5cc2800059b8d12c82ba.tar.gz freebsd-ports-gnome-f6ac0b4935ea004895ab5cc2800059b8d12c82ba.tar.zst freebsd-ports-gnome-f6ac0b4935ea004895ab5cc2800059b8d12c82ba.zip |
Move inclusion of bsd.port.pre.mk later in the file for conditional BROKEN
tag. Early inclusion caused problems for some ports, so to be safe I'm
updating all of them.
Pointy hat to: kris
Diffstat (limited to 'games/nil')
-rw-r--r-- | games/nil/Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/games/nil/Makefile b/games/nil/Makefile index 849a5f171d00..c61655d6e146 100644 --- a/games/nil/Makefile +++ b/games/nil/Makefile @@ -17,12 +17,6 @@ COMMENT= A multiplayer game that can be described as Quake in 2D or Worms done r LIB_DEPENDS= SDL_mixer.2:${PORTSDIR}/audio/sdl_mixer -.include <bsd.port.pre.mk> - -.if ${OSVERSION} >= 500113 -BROKEN= "Does not compile (bad C++ code)" -.endif - WRKSRC= ${WRKDIR}/${PORTNAME}/${PORTNAME} SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config @@ -31,6 +25,12 @@ USE_GMAKE= yes GNU_CONFIGURE= yes MAKE_ENV= SDL_CONFIG="${SDL_CONFIG}" +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 500113 +BROKEN= "Does not compile (bad C++ code)" +.endif + pre-patch: @find ${WRKSRC} \( -name "*.[ch]" -or -name "*.cpp" \) | \ xargs ${PERL} -pi -e 's|"SDL/|"|g ; s|<SDL/|<|g' |