aboutsummaryrefslogtreecommitdiff
path: root/devel/libfs++/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/libfs++/Makefile')
-rw-r--r--devel/libfs++/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/libfs++/Makefile b/devel/libfs++/Makefile
index 46286deb18d5..a6ff52ed0611 100644
--- a/devel/libfs++/Makefile
+++ b/devel/libfs++/Makefile
@@ -21,8 +21,14 @@ GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_LDCONFIG= yes
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 700042
+BROKEN= Broken with gcc 4.2
+.endif
+
post-patch:
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
's|-Wall -g -O2||g'
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>