aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2007-10-24 21:08:16 +0000
committerMark Linimon <linimon@FreeBSD.org>2007-10-24 21:08:16 +0000
commit97dfcc1b41c5b4581b1d73128a866beec069c5bf (patch)
treef1462781efcce7b818a42dd6df6f82da7ff5bb47
parentc803188084b02da8ea710883191fe906138fe364 (diff)
downloadports-97dfcc1b41c5b4581b1d73128a866beec069c5bf.tar.gz
ports-97dfcc1b41c5b4581b1d73128a866beec069c5bf.zip
Notes
-rw-r--r--graphics/g3dviewer/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/graphics/g3dviewer/Makefile b/graphics/g3dviewer/Makefile
index 548e7a77ca3f..5f9fb03b1deb 100644
--- a/graphics/g3dviewer/Makefile
+++ b/graphics/g3dviewer/Makefile
@@ -31,4 +31,12 @@ post-patch:
@${REINPLACE_CMD} -e \
's|DBG_CFLAGS="-O2"|DBG_CFLAGS=""|g' ${WRKSRC}/configure
-.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>