diff options
-rw-r--r-- | editors/bed/Makefile | 4 | ||||
-rw-r--r-- | games/briquolo/Makefile | 4 | ||||
-rw-r--r-- | misc/bb/Makefile | 8 | ||||
-rw-r--r-- | ports-mgmt/barry/Makefile | 8 | ||||
-rw-r--r-- | security/bro/Makefile | 8 | ||||
-rw-r--r-- | sysutils/barry/Makefile | 8 | ||||
-rw-r--r-- | sysutils/bbsmount/Makefile | 8 |
7 files changed, 43 insertions, 5 deletions
diff --git a/editors/bed/Makefile b/editors/bed/Makefile index f11c22bb4bd6..1d1e53c5d08f 100644 --- a/editors/bed/Makefile +++ b/editors/bed/Makefile @@ -36,6 +36,10 @@ MANCOMPRESSED= yes .include <bsd.port.pre.mk> +.if ${OSVERSION} >= 502126 +BROKEN= "Does not compile on FreeBSD >= 5.x" +.endif + .if ${ARCH} == "amd64" BROKEN= "Does not compile on amd64 (missing -fPIC)" .endif diff --git a/games/briquolo/Makefile b/games/briquolo/Makefile index f004e001b457..f9082f7ecb1b 100644 --- a/games/briquolo/Makefile +++ b/games/briquolo/Makefile @@ -28,6 +28,10 @@ USE_SDL= mixer sdl .include <bsd.port.pre.mk> +.if ${OSVERSION} >= 502126 +BROKEN= "Does not compile on FreeBSD >= 5.x" +.endif + post-patch: @${FIND} ${WRKSRC} -name "*.cpp" | ${XARGS} \ ${REINPLACE_CMD} -e 's|SDL/|SDL11/|g' 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> diff --git a/ports-mgmt/barry/Makefile b/ports-mgmt/barry/Makefile index 3f729400cb7c..890189ba5d8d 100644 --- a/ports-mgmt/barry/Makefile +++ b/ports-mgmt/barry/Makefile @@ -22,10 +22,16 @@ USE_KDELIBS_VER=3 USE_REINPLACE= yes GNU_CONFIGURE= yes +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 502126 +BROKEN= "Does not compile on FreeBSD >= 5.x" +.endif + pre-build: ${REINPLACE_CMD} "s,-pthread,${PTHREAD_LIBS},g" ${WRKSRC}/Makefile pre-install: ${MKDIR} ${DESTDIR}${PREFIX}/share/applnk/Utilities -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/security/bro/Makefile b/security/bro/Makefile index 6f4d739e0fad..5e592f40e74d 100644 --- a/security/bro/Makefile +++ b/security/bro/Makefile @@ -26,6 +26,12 @@ CONFIGURE_ARGS= --libdir=${PREFIX}/share USE_BISON= yes USE_PERL5= yes +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 502126 +BROKEN= "Does not compile on FreeBSD >= 5.x" +.endif + post-extract: @(cd ${WRKSRC} && ${TAR} xfvz libedit.src.tar.gz > /dev/null) @@ -55,4 +61,4 @@ post-install: @${GZIP_CMD} ${DOCSDIR}/bro-CN99.ps .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/sysutils/barry/Makefile b/sysutils/barry/Makefile index 3f729400cb7c..890189ba5d8d 100644 --- a/sysutils/barry/Makefile +++ b/sysutils/barry/Makefile @@ -22,10 +22,16 @@ USE_KDELIBS_VER=3 USE_REINPLACE= yes GNU_CONFIGURE= yes +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 502126 +BROKEN= "Does not compile on FreeBSD >= 5.x" +.endif + pre-build: ${REINPLACE_CMD} "s,-pthread,${PTHREAD_LIBS},g" ${WRKSRC}/Makefile pre-install: ${MKDIR} ${DESTDIR}${PREFIX}/share/applnk/Utilities -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/sysutils/bbsmount/Makefile b/sysutils/bbsmount/Makefile index ffcc34c91dd7..80551c4c93a6 100644 --- a/sysutils/bbsmount/Makefile +++ b/sysutils/bbsmount/Makefile @@ -20,6 +20,12 @@ USE_XLIB= yes USE_REINPLACE= yes GNU_CONFIGURE= yes +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 502126 +BROKEN= "Does not compile with FreeBSD >= 5.x" +.endif + post-patch: @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' \ ${WRKSRC}/configure @@ -39,4 +45,4 @@ post-install: fi @${INSTALL} ${WRKSRC}/data/bbsmount.bb ${PREFIX}/share/bbtools/bbsmount.bb-sample -.include <bsd.port.mk> +.include <bsd.port.post.mk> |