aboutsummaryrefslogtreecommitdiff
path: root/devel/gindent
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2007-05-27 03:03:31 +0000
committerKris Kennaway <kris@FreeBSD.org>2007-05-27 03:03:31 +0000
commitb7ff7031ea6f07582ad920bef0ffd13ac1adcc44 (patch)
treefa95c4dec9e92efb4ff7df81d579129d7bc11807 /devel/gindent
parentbd5f3dd41b37a452c489843e85d75cf94433bbc6 (diff)
downloadports-b7ff7031ea6f07582ad920bef0ffd13ac1adcc44.tar.gz
ports-b7ff7031ea6f07582ad920bef0ffd13ac1adcc44.zip
Notes
Diffstat (limited to 'devel/gindent')
-rw-r--r--devel/gindent/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/gindent/Makefile b/devel/gindent/Makefile
index 1a1bdf49714e..f07bbf6fc76e 100644
--- a/devel/gindent/Makefile
+++ b/devel/gindent/Makefile
@@ -34,6 +34,12 @@ PLIST_SUB+= NLS="@comment "
MAN1= gindent.1
INFO= indent
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 700042
+BROKEN= Broken with gcc 4.2
+.endif
+
post-patch:
@${GREP} -lR "malloc\.h" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
's|malloc\.h|stdlib.h|g'
@@ -44,4 +50,4 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/doc/indent.html ${DOCSDIR}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>