summaryrefslogtreecommitdiffstats
path: root/misc/bb
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2004-09-17 23:02:58 +0000
committerkris <kris@FreeBSD.org>2004-09-17 23:02:58 +0000
commitcf7a99ba85fe74976ebb4d40b50b44a7a0c933b4 (patch)
tree2cb3b36f9326fddef01ad0ad61ccbe0063e48c03 /misc/bb
parente79bf06ffa60db2f5593f023759e18b64e6e5a1e (diff)
downloadFreeBSD-ports-cf7a99ba85fe74976ebb4d40b50b44a7a0c933b4.zip
FreeBSD-ports-cf7a99ba85fe74976ebb4d40b50b44a7a0c933b4.tar.gz
BROKEN on 5.x: Does not compile
Approved by: portmgr (self)
Diffstat (limited to 'misc/bb')
-rw-r--r--misc/bb/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/misc/bb/Makefile b/misc/bb/Makefile
index dc537f3..edd76bd 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>
OpenPOWER on IntegriCloud