diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2004-09-17 23:02:58 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2004-09-17 23:02:58 +0000 |
commit | 3462fa1f7267ff1b1f968ab5a95eb025506552e7 (patch) | |
tree | 26523d054f10ce6a62fe733a2d55e3be02f08d1d /misc | |
parent | cb7183ef00c83e706bfafc47e5e341993b7645a5 (diff) | |
download | ports-3462fa1f7267ff1b1f968ab5a95eb025506552e7.tar.gz ports-3462fa1f7267ff1b1f968ab5a95eb025506552e7.zip |
Notes
Diffstat (limited to 'misc')
-rw-r--r-- | misc/bb/Makefile | 8 |
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> |