From 93872f18cc0a948ab9c010bbe5694579bd59f8c4 Mon Sep 17 00:00:00 2001 From: Kris Kennaway Date: Wed, 4 Jun 2003 22:43:38 +0000 Subject: 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 --- games/nil/Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'games/nil') 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 - -.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 + +.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|