diff options
author | kris <kris@FreeBSD.org> | 2003-06-04 22:43:38 +0000 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2003-06-04 22:43:38 +0000 |
commit | f6ac0b4935ea004895ab5cc2800059b8d12c82ba (patch) | |
tree | 91894094142566c88cf43e76bf56bd120a3c8119 /games/criticalmass | |
parent | a202830df7532e2bb404143c7bf5ee68b97df9bf (diff) | |
download | FreeBSD-ports-f6ac0b4935ea004895ab5cc2800059b8d12c82ba.zip FreeBSD-ports-f6ac0b4935ea004895ab5cc2800059b8d12c82ba.tar.gz |
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/criticalmass')
-rw-r--r-- | games/criticalmass/Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/games/criticalmass/Makefile b/games/criticalmass/Makefile index 64f7e74..a672ae1 100644 --- a/games/criticalmass/Makefile +++ b/games/criticalmass/Makefile @@ -19,12 +19,6 @@ LIB_DEPENDS= SDL-1.1.5:${PORTSDIR}/devel/sdl12 \ SDL_image.10:${PORTSDIR}/graphics/sdl_image \ SDL_mixer.2:${PORTSDIR}/audio/sdl_mixer -.include <bsd.port.pre.mk> - -.if ${OSVERSION} >= 500113 -BROKEN= "Does not compile (bad C++ code)" -.endif - USE_BZIP2= yes USE_REINPLACE= yes GNU_CONFIGURE= yes @@ -34,6 +28,12 @@ CONFIGURE_ENV= LDFLAGS="${LDFLAGS} -L${X11BASE}/lib" \ SDLINCPFILES= utilities/GLBitmapCollection.cpp utilities/GLExtension.hpp \ utilities/GLTexture.hpp utilities/PNG.hpp +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 500113 +BROKEN= "Does not compile (bad C++ code)" +.endif + post-patch: ${REINPLACE_CMD} -e 's#sdl-config#sdl11-config#; s#-lSDL # #;' ${WRKSRC}/configure ${REINPLACE_CMD} -e 's#SDL/#SDL11/#;' ${SDLINCPFILES:S#^#${WRKSRC}/#} |