aboutsummaryrefslogtreecommitdiff
path: root/editors/MathPlanner
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2003-10-15 07:36:12 +0000
committerMark Linimon <linimon@FreeBSD.org>2003-10-15 07:36:12 +0000
commitd8ff273b649ade5a96203ea6e063290d7b2182fb (patch)
treeceec0facf7b97ecf4f08972a2c4baeeb58ae1336 /editors/MathPlanner
parent9f548f5ea5e4d5751a3b3af57f72d782dbcafdea (diff)
downloadports-d8ff273b649ade5a96203ea6e063290d7b2182fb.tar.gz
ports-d8ff273b649ade5a96203ea6e063290d7b2182fb.zip
Notes
Diffstat (limited to 'editors/MathPlanner')
-rw-r--r--editors/MathPlanner/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/editors/MathPlanner/Makefile b/editors/MathPlanner/Makefile
index 545d760e2e6e..23217e94bd80 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>