summaryrefslogtreecommitdiff
path: root/databases/gbib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/gbib/Makefile')
-rw-r--r--databases/gbib/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/databases/gbib/Makefile b/databases/gbib/Makefile
index 2e17fafb6d60..feb965a60cfd 100644
--- a/databases/gbib/Makefile
+++ b/databases/gbib/Makefile
@@ -31,6 +31,12 @@ MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
CFLAGS+= -fpermissive
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 700042
+BROKEN= Broken with gcc 4.2
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|map.h,|map,|g ; \
s|vector.h,|vector,|g' ${WRKSRC}/configure.in
@@ -46,4 +52,4 @@ post-patch:
post-install:
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>