aboutsummaryrefslogtreecommitdiff
path: root/science/felt
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2004-09-18 17:13:36 +0000
committerKris Kennaway <kris@FreeBSD.org>2004-09-18 17:13:36 +0000
commit8b0d2ca99610ebd2ec68b37716781fd8197c8340 (patch)
tree9dc893a09c2f7c9564d482bb71d9c9801cec48a7 /science/felt
parenta2d3091558670f89e0f543b9fc8d529617573459 (diff)
downloadports-8b0d2ca99610ebd2ec68b37716781fd8197c8340.tar.gz
ports-8b0d2ca99610ebd2ec68b37716781fd8197c8340.zip
Notes
Diffstat (limited to 'science/felt')
-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>