aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/wildmagic/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/wildmagic/Makefile')
-rw-r--r--graphics/wildmagic/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/graphics/wildmagic/Makefile b/graphics/wildmagic/Makefile
index 106564735edf..7fa895d7f664 100644
--- a/graphics/wildmagic/Makefile
+++ b/graphics/wildmagic/Makefile
@@ -57,6 +57,12 @@ CONFIG= Release
#CFLAGS+= -DNDEBUG
.endif
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 700042
+BROKEN= Broken with gcc 4.2
+.endif
+
pre-configure:
${FIND} ${WRKSRC} -name "*.wm${MV}" | ${XARGS} \
${REINPLACE_CMD} -e 's|make -f|${SETENV} ${MAKE_ENV} ${GMAKE} -f|; \
@@ -96,4 +102,4 @@ do-install:
${FIND} ${EXAMPLESDIR} -name "*.bak" -delete
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>