aboutsummaryrefslogtreecommitdiffstats
path: root/science/felt/Makefile
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2004-09-19 01:13:36 +0800
committerkris <kris@FreeBSD.org>2004-09-19 01:13:36 +0800
commit8ad45376fd502e1c2ac37d10df0be64594a35a66 (patch)
treea6bbb730eaf0511a54c85df66c34a36ac669a66a /science/felt/Makefile
parent34ab56ba0f18e378fb790b32e63ebfeaa0b96348 (diff)
downloadfreebsd-ports-gnome-8ad45376fd502e1c2ac37d10df0be64594a35a66.tar.gz
freebsd-ports-gnome-8ad45376fd502e1c2ac37d10df0be64594a35a66.tar.zst
freebsd-ports-gnome-8ad45376fd502e1c2ac37d10df0be64594a35a66.zip
BROKEN on 5.x: Does not build
Approved by: portmgr (self)
Diffstat (limited to 'science/felt/Makefile')
-rw-r--r--science/felt/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/science/felt/Makefile b/science/felt/Makefile
index b38e3cdff3a3..c1259ed5e565 100644
--- a/science/felt/Makefile
+++ b/science/felt/Makefile
@@ -27,6 +27,12 @@ MAN1= burlap.1 corduroy.1 felt.1 patchwork.1 velvet.1 yardstick.1
MAN3= Drawing.3
MAN4= corduroy.4 felt.4
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not build on FreeBSD >= 5.x"
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's,<malloc.h>,<stdlib.h>, ; s,"malloc.h",<stdlib.h>,' \
${WRKSRC}/lib/Felt/parser.c \
@@ -45,4 +51,4 @@ post-install:
${MKDIR} ${PREFIX}/share/doc/FElt
${CP} ${WRKSRC}/*.html ${PREFIX}/share/doc/FElt
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>