aboutsummaryrefslogtreecommitdiffstats
path: root/games/pipenightdreams/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/pipenightdreams/Makefile')
-rw-r--r--games/pipenightdreams/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/games/pipenightdreams/Makefile b/games/pipenightdreams/Makefile
index d9302040e864..e63c29405cc8 100644
--- a/games/pipenightdreams/Makefile
+++ b/games/pipenightdreams/Makefile
@@ -15,6 +15,12 @@ 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
@@ -34,4 +40,4 @@ post-patch:
${REINPLACE_CMD} "s|/usr/share/games|${LOCALBASE}/share|g" \
${WRKSRC}/src/main.cpp
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>