diff options
-rw-r--r-- | graphics/g3dviewer/Makefile | 10 |
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> |