aboutsummaryrefslogtreecommitdiff
path: root/games/pipenightdreams/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/pipenightdreams/Makefile')
-rw-r--r--games/pipenightdreams/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/games/pipenightdreams/Makefile b/games/pipenightdreams/Makefile
index e63c29405cc8..08d30978502b 100644
--- a/games/pipenightdreams/Makefile
+++ b/games/pipenightdreams/Makefile
@@ -15,12 +15,6 @@ COMMENT= A puzzle game similar to PipeMania
LIB_DEPENDS= SDL_image.10:${PORTSDIR}/graphics/sdl_image
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 500113
-BROKEN= "Does not compile (bad C++ code)"
-.endif
-
SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
GNU_CONFIGURE= yes
USE_BZIP2= yes
@@ -30,6 +24,12 @@ USE_REINPLACE= yes
MAN6= pipenightdreams.6
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 500113
+BROKEN= "Does not compile (bad C++ code)"
+.endif
+
post-patch:
${REINPLACE_CMD} 's|"SDL/SDL|"SDL|g ; s|<SDL/SDL|<SDL|g; \
s|SDL_LIBSS|SDL_LIBS|g; s|datadir/games|datadir|;' \