aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2006-09-12 07:11:40 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2006-09-12 07:11:40 +0000
commit6097e1196f484ac34a8814273ebd8188c2942bac (patch)
tree33b2f43445b5cc49712ef61283d86c53fcba3760 /games
parentf0253841e40eefd80df67b5b2ceaba3e38c3dfb4 (diff)
Notes
Diffstat (limited to 'games')
-rw-r--r--games/fwp/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/games/fwp/Makefile b/games/fwp/Makefile
index 7e1843950b5d..9a173c58b274 100644
--- a/games/fwp/Makefile
+++ b/games/fwp/Makefile
@@ -31,6 +31,12 @@ CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" \
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+BROKEN= does not compile on 4.x
+.endif
+
pre-everything::
@${ECHO_MSG}
@${ECHO_MSG} "Warning! This is the first playable version of FWP using the new libraries."
@@ -45,4 +51,4 @@ post-patch:
${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|-O$$enable_optimize||' ${WRKSRC}/configure
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>