aboutsummaryrefslogtreecommitdiffstats
path: root/news/grn/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'news/grn/Makefile')
-rw-r--r--news/grn/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/news/grn/Makefile b/news/grn/Makefile
index 17fcdadf9752..0274fdabc5f9 100644
--- a/news/grn/Makefile
+++ b/news/grn/Makefile
@@ -26,8 +26,14 @@ CONFIGURE_ENV= glibpath="${GLIB_CONFIG}" \
CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 700042
+BROKEN= Broken with gcc 4.2
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|$${CONFIG_SHELL-/bin/sh} $$ac_aux_dir|$$ac_aux_dir|' \
${WRKSRC}/configure ${WRKSRC}/libmutt/configure
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>