aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2009-12-31 11:16:17 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2009-12-31 11:16:17 +0000
commitb049c560091dac7077310660ce2da2d6831e0ee3 (patch)
treea246a976d4927b6ccc1eb895b8b0167e2febcd29 /games
parent9b17ff07f40c3172a9bf505927ab039acd5f286c (diff)
downloadports-b049c560091dac7077310660ce2da2d6831e0ee3.tar.gz
ports-b049c560091dac7077310660ce2da2d6831e0ee3.zip
Notes
Diffstat (limited to 'games')
-rw-r--r--games/spring/Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/games/spring/Makefile b/games/spring/Makefile
index e518173efdd7..26d8e17f2c2d 100644
--- a/games/spring/Makefile
+++ b/games/spring/Makefile
@@ -45,6 +45,16 @@ WRKSRC= ${WRKDIR}/${PORTNAME}_${PORTVERSION}
PORTDOCS= *
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_SYNC_DEBUG)
+CMAKE_ARGS+= -DCMAKE_BUILD_TYPE=DEBUG2 -DTRACE_SYNC=true -DSYNCDEBUG=true
+.endif
+
+.if ${OSVERSION} < 700042
+BROKEN= does not build in 6.x
+.endif
+
post-patch:
@${REINPLACE_CMD} -E -e '/FIND_PACKAGE.*(Python|JNI)/ d' \
${WRKSRC}/tools/unitsync/CMakeLists.txt
@@ -63,4 +73,4 @@ post-install:
.endif
@${ECHO_CMD}; ${CAT} ${PKGMESSAGE}; ${ECHO_CMD}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>