summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2004-09-17 23:02:58 +0000
committerKris Kennaway <kris@FreeBSD.org>2004-09-17 23:02:58 +0000
commit3462fa1f7267ff1b1f968ab5a95eb025506552e7 (patch)
tree26523d054f10ce6a62fe733a2d55e3be02f08d1d /misc
parentBROKEN: Broken dependency (diff)
BROKEN on 5.x: Does not compile
Approved by: portmgr (self)
Notes
Notes: svn path=/head/; revision=118216
Diffstat (limited to 'misc')
-rw-r--r--misc/bb/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/misc/bb/Makefile b/misc/bb/Makefile
index dc537f394e06..edd76bd516ae 100644
--- a/misc/bb/Makefile
+++ b/misc/bb/Makefile
@@ -26,6 +26,12 @@ PORTDOCS= README
PLIST_FILES= bin/bb share/bb/bb.s3m share/bb/bb2.s3m share/bb/bb3.s3m
PLIST_DIRS= share/bb
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
pre-patch:
@${FIND} ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} -E -e "s@#include +<malloc.h>@#include <stdlib.h>@g"
@@ -35,4 +41,4 @@ post-install:
@${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>