summaryrefslogtreecommitdiffstats
path: root/editors/MathPlanner/Makefile
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2003-10-15 07:36:12 +0000
committerlinimon <linimon@FreeBSD.org>2003-10-15 07:36:12 +0000
commit0bb85db558dcf482a1d78e86d260ff789805cd6a (patch)
treebf8aa7cf7d43421106675be2f9b42beeaf1a234b /editors/MathPlanner/Makefile
parenta9c503d40eaeb0ddacebf68de858b81b1efa9601 (diff)
downloadFreeBSD-ports-0bb85db558dcf482a1d78e86d260ff789805cd6a.zip
FreeBSD-ports-0bb85db558dcf482a1d78e86d260ff789805cd6a.tar.gz
Mark broken on 4.x due to gcc295 incompatibilities.
PR: ports/56469 Submitted by: Mark Linimon
Diffstat (limited to 'editors/MathPlanner/Makefile')
-rw-r--r--editors/MathPlanner/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/editors/MathPlanner/Makefile b/editors/MathPlanner/Makefile
index 545d760..23217e9 100644
--- a/editors/MathPlanner/Makefile
+++ b/editors/MathPlanner/Makefile
@@ -19,8 +19,14 @@ USE_QT_VER= 3
GNU_CONFIGURE= yes
CONFIGURE_ENV= QTDIR="${X11BASE}"
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+BROKEN= "Does not compile with gcc 2.95.x"
+.endif
+
post-patch:
@${GREP} -lR "malloc\.h" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} \
-e "s|malloc\.h|stdlib.h|"
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud