aboutsummaryrefslogtreecommitdiff
path: root/games/tuxkart
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2009-06-13 18:32:04 +0000
committerPav Lucistnik <pav@FreeBSD.org>2009-06-13 18:32:04 +0000
commitf39c5a0dd6e882d6d571f0df468dac0780b15090 (patch)
treeffa2db329bbd89303972ea1f0f67348fde036b0e /games/tuxkart
parent4dcf1a34b01059f1a24c55be9d9e15ae108d4219 (diff)
downloadports-f39c5a0dd6e882d6d571f0df468dac0780b15090.tar.gz
ports-f39c5a0dd6e882d6d571f0df468dac0780b15090.zip
Notes
Diffstat (limited to 'games/tuxkart')
-rw-r--r--games/tuxkart/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/games/tuxkart/Makefile b/games/tuxkart/Makefile
index e107661c0bce..2101ac734f4c 100644
--- a/games/tuxkart/Makefile
+++ b/games/tuxkart/Makefile
@@ -23,6 +23,12 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib -lusbhid"
CONFIGURE_ARGS= --with-plib=${LOCALBASE}
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 800000
+BROKEN= does not compile: error: plib/js.h: No such file or directory
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|-O6|${PTHREAD_CFLAGS}|g ; \
s|-lpthread|${PTHREAD_LIBS}|g ; \
@@ -31,4 +37,4 @@ post-patch:
's|[\$$][(]prefix[)]/games|@bindir@|g ; \
s|[\$$][(]datadir[)]/games|\$$(datadir)|g'
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>