diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2003-06-04 22:43:38 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2003-06-04 22:43:38 +0000 |
commit | 93872f18cc0a948ab9c010bbe5694579bd59f8c4 (patch) | |
tree | 918c0e1660ed837a4087b57670a1b1c181c285e0 /games/nil | |
parent | d7568468f977aa272698f2ab9e7164f2a52b0ad5 (diff) | |
download | ports-93872f18cc0a948ab9c010bbe5694579bd59f8c4.tar.gz ports-93872f18cc0a948ab9c010bbe5694579bd59f8c4.zip |
Notes
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' |