aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--comms/pstngw/Makefile4
-rw-r--r--devel/prcs/Makefile4
-rw-r--r--devel/py-freebsd/Makefile8
-rw-r--r--emulators/psim-freebsd/Makefile8
-rw-r--r--emulators/qemu-devel/Makefile8
-rw-r--r--emulators/qemu/Makefile8
-rw-r--r--games/prboom/Makefile8
-rw-r--r--games/pykawari/Makefile5
-rw-r--r--security/qtfw/Makefile8
-rw-r--r--sysutils/pwsafe/Makefile8
10 files changed, 62 insertions, 7 deletions
diff --git a/comms/pstngw/Makefile b/comms/pstngw/Makefile
index b38a9c0c3959..5e01cb774f22 100644
--- a/comms/pstngw/Makefile
+++ b/comms/pstngw/Makefile
@@ -28,6 +28,10 @@ PLIST_FILES= bin/pstngw
.include <bsd.port.pre.mk>
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
.if ${ARCH} == "amd64"
BROKEN= "Does not build on amd64 (shared libraries must be compiled with -fPIC)"
.endif
diff --git a/devel/prcs/Makefile b/devel/prcs/Makefile
index c2f82ab2f6a6..d2c7ad0503f8 100644
--- a/devel/prcs/Makefile
+++ b/devel/prcs/Makefile
@@ -25,6 +25,10 @@ PLIST_FILES= bin/prcs
.include <bsd.port.pre.mk>
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
.if exists(${LOCALBASE}/bin/emacs)
MAN1+= prcs-callback.1 prcs-ediff.1 prcs-emerge.1
PLIST_FILES+= bin/prcs-callback bin/prcs-ediff bin/prcs-emerge \
diff --git a/devel/py-freebsd/Makefile b/devel/py-freebsd/Makefile
index dd65b9e001fb..031ee4c1651d 100644
--- a/devel/py-freebsd/Makefile
+++ b/devel/py-freebsd/Makefile
@@ -20,4 +20,10 @@ PLIST_FILES= lib/%%PYTHON_VERSION%%/site-packages/freebsd.so
USE_PYTHON= yes
USE_PYDISTUTILS= yes
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/emulators/psim-freebsd/Makefile b/emulators/psim-freebsd/Makefile
index 37a3cc621f5d..f1dce620db67 100644
--- a/emulators/psim-freebsd/Makefile
+++ b/emulators/psim-freebsd/Makefile
@@ -23,6 +23,12 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-psim --target=powerpc-freebsd-elf \
--program-suffix=psim
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/gdb/gdb ${PREFIX}/bin/${PORTNAME}
${MKDIR} ${PREFIX}/share/examples/${PORTNAME}
@@ -38,4 +44,4 @@ cklatest:
ftp://mirrors.rcn.net/mirrors/sources.redhat.com/${MASTER_SITE_SUBDIR}/ \
| ${GREP} gdb+dejagnu-
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/emulators/qemu-devel/Makefile b/emulators/qemu-devel/Makefile
index bbd69b04a05f..6dcbff214ee6 100644
--- a/emulators/qemu-devel/Makefile
+++ b/emulators/qemu-devel/Makefile
@@ -29,7 +29,13 @@ CONFIGURE_ARGS+= --prefix=${PREFIX} --cc=${CC}\ -I${PREFIX}/include
MAN1= qemu.1 qemu-mkcow.1
ONLY_FOR_ARCHS= i386 amd64 powerpc
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
post-install:
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/emulators/qemu/Makefile b/emulators/qemu/Makefile
index bbd69b04a05f..6dcbff214ee6 100644
--- a/emulators/qemu/Makefile
+++ b/emulators/qemu/Makefile
@@ -29,7 +29,13 @@ CONFIGURE_ARGS+= --prefix=${PREFIX} --cc=${CC}\ -I${PREFIX}/include
MAN1= qemu.1 qemu-mkcow.1
ONLY_FOR_ARCHS= i386 amd64 powerpc
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
post-install:
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/games/prboom/Makefile b/games/prboom/Makefile
index 90c1d0c28e17..6fe6b562e171 100644
--- a/games/prboom/Makefile
+++ b/games/prboom/Makefile
@@ -26,6 +26,12 @@ CONFIGURE_ENV= CFLAGS+="-I${LOCALBASE}/include" \
MAN5= boom.cfg.5
MAN6= prboom.6 prboom-game-server.6
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/prboom
@@ -35,4 +41,4 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/doc/boom.txt ${PREFIX}/share/doc/prboom
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/games/pykawari/Makefile b/games/pykawari/Makefile
index 8dd313a24502..2472944216af 100644
--- a/games/pykawari/Makefile
+++ b/games/pykawari/Makefile
@@ -38,6 +38,11 @@ WRKSRC= ${WRKDIR}/kawari-${PORTVERSION:S/.//g}
CFLAGS+= ${PTHREAD_CFLAGS} -fPIC
.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 50126
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
.if ${ARCH} == "amd64"
CFLAGS+= -fPIC
.endif
diff --git a/security/qtfw/Makefile b/security/qtfw/Makefile
index 4f81be141df3..0e9f7180c2e2 100644
--- a/security/qtfw/Makefile
+++ b/security/qtfw/Makefile
@@ -22,7 +22,13 @@ MAKE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
PTHREAD_LIBS="${PTHREAD_LIBS}"
PLIST_FILES= bin/qtfw
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/qtfw ${PREFIX}/bin
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/sysutils/pwsafe/Makefile b/sysutils/pwsafe/Makefile
index 0d3aa1a04c35..406b1c9acce5 100644
--- a/sysutils/pwsafe/Makefile
+++ b/sysutils/pwsafe/Makefile
@@ -19,4 +19,10 @@ USE_GMAKE= yes
MAN1= pwsafe.1
PLIST_FILES= bin/pwsafe
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
+.include <bsd.port.post.mk>