aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/samba4wins/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/net/samba4wins/Makefile b/net/samba4wins/Makefile
index 4b2169b6c68..c1e96b25335 100644
--- a/net/samba4wins/Makefile
+++ b/net/samba4wins/Makefile
@@ -73,4 +73,12 @@ post-install:
. endfor
.endif
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 700042
+.if ${ARCH} == "amd64" || ${ARCH} == "sparc64"
+BROKEN= Does not compile with GCC 4.2
+.endif
+.endif
+
+.include <bsd.port.post.mk>