aboutsummaryrefslogtreecommitdiff
path: root/graphics/agg
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/agg')
-rw-r--r--graphics/agg/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/graphics/agg/Makefile b/graphics/agg/Makefile
index 0772939edbcc..500edbb481e8 100644
--- a/graphics/agg/Makefile
+++ b/graphics/agg/Makefile
@@ -22,6 +22,12 @@ MAKE_ENV= C=${CC}
PLIST_FILES= lib/libagg.a
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile with gcc 3.4.2"
+.endif
+
post-extract:
@${CP} -f ${FILESDIR}/Makefile.in.FreeBSD ${WRKSRC}
@${SED} 's,%%X11BASE%%,${X11BASE},g' < ${FILESDIR}/Makefile.in.FreeBSD > ${WRKSRC}/Makefile.in.FreeBSD
@@ -46,4 +52,4 @@ do-install:
${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>