summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2004-09-18 17:49:31 +0000
committerKris Kennaway <kris@FreeBSD.org>2004-09-18 17:49:31 +0000
commitfe54d2a7c76c819f48572aaac53161c6073e4bc2 (patch)
treecd3a2332516a8e0f6a9b518a6f6eb3a97af4baa7
parentBROKEN on 5.x: Configure fails (diff)
BROKEN on 5.x: Does not compile
Approved by: portmgr (self)
Notes
Notes: svn path=/head/; revision=118243
-rw-r--r--comms/ghfaxviewer/Makefile8
-rw-r--r--comms/gmfsk/Makefile8
-rw-r--r--comms/grig/Makefile8
-rw-r--r--comms/hamfax/Makefile8
-rw-r--r--dns/fastresolve/Makefile8
-rw-r--r--games/enigma/Makefile8
-rw-r--r--games/gracer/Makefile8
-rw-r--r--graphics/evolvotron/Makefile8
-rw-r--r--graphics/geomview/Makefile8
-rw-r--r--graphics/gimageview/Makefile4
-rw-r--r--graphics/gnofract4d/Makefile8
-rw-r--r--graphics/ivtools/Makefile4
-rw-r--r--lang/erlang/Makefile4
-rw-r--r--lang/erlang14/Makefile4
-rw-r--r--lang/ghc/Makefile4
-rw-r--r--lang/ghc5/Makefile4
-rw-r--r--lang/gprolog/Makefile8
-rw-r--r--mail/ftrack/Makefile8
-rw-r--r--math/gambit/Makefile8
-rw-r--r--math/gnumeric/Makefile8
-rw-r--r--math/goblin/Makefile4
-rw-r--r--math/it++/Makefile4
-rw-r--r--misc/goblin/Makefile4
-rw-r--r--misc/lile/Makefile8
-rw-r--r--multimedia/gopchop/Makefile8
-rw-r--r--net-im/gale/Makefile8
-rw-r--r--net/easysoap/Makefile4
-rw-r--r--net/gale/Makefile8
-rw-r--r--net/gatekeeper/Makefile8
-rw-r--r--science/ghemical/Makefile8
-rw-r--r--security/fwbuilder-devel/Makefile8
-rw-r--r--security/fwbuilder/Makefile8
-rw-r--r--security/fwbuilder2/Makefile8
-rw-r--r--security/hashish/Makefile8
-rw-r--r--textproc/iiimf-server/Makefile8
-rw-r--r--textproc/iiimf-x/Makefile4
-rw-r--r--x11-toolkits/gnome--/Makefile8
-rw-r--r--x11-toolkits/inti/Makefile8
-rw-r--r--x11-wm/fbdesk/Makefile4
-rw-r--r--x11/fbdesk/Makefile4
40 files changed, 241 insertions, 27 deletions
diff --git a/comms/ghfaxviewer/Makefile b/comms/ghfaxviewer/Makefile
index 8ba762cc7b88..0f0fdfe51de4 100644
--- a/comms/ghfaxviewer/Makefile
+++ b/comms/ghfaxviewer/Makefile
@@ -29,6 +29,12 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
MAN1= halifax.1 ghfaxviewer.1
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
pre-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
@@ -36,4 +42,4 @@ pre-patch:
's|\(\$$(datadir)/\)gnome/|\1|g ; \
s|\$$(datadir)/locale|$$(prefix)/share/locale|g'
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/comms/gmfsk/Makefile b/comms/gmfsk/Makefile
index cc76b4ddefe7..355617fe187c 100644
--- a/comms/gmfsk/Makefile
+++ b/comms/gmfsk/Makefile
@@ -26,7 +26,13 @@ USE_GMAKE= yes
USE_AUTOCONF_VER= 253
USE_GNOME= libgnomeui
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
post-install:
@${CAT} pkg-message
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/comms/grig/Makefile b/comms/grig/Makefile
index 6994d7745848..d8610828580e 100644
--- a/comms/grig/Makefile
+++ b/comms/grig/Makefile
@@ -25,7 +25,13 @@ CONFIGURE_ARGS= --disable-nls # nls not supported yet
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|GCONF_LIBS="`|GCONF_LIBS="-lgconf-gtk-1 `|' ${WRKSRC}/configure
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/comms/hamfax/Makefile b/comms/hamfax/Makefile
index 34287f87543b..ec415f8910d9 100644
--- a/comms/hamfax/Makefile
+++ b/comms/hamfax/Makefile
@@ -26,4 +26,10 @@ CONFIGURE_ARGS= --with-Qt-dir=${X11BASE} CXX="g++ ${PTHREAD_CFLAGS}" \
USE_GMAKE= yes
USE_BZIP2= 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/dns/fastresolve/Makefile b/dns/fastresolve/Makefile
index e3eaa9f6967c..34027b02b9f3 100644
--- a/dns/fastresolve/Makefile
+++ b/dns/fastresolve/Makefile
@@ -49,6 +49,12 @@ MAN1= dns-terror.1 btree-dump.1 convert-dom-db.1 convert-ip-db.1 \
expire-ip-db.1 getdominfo.1 rebuild-dom-db.1 rebuild-ip-db.1 \
reresolve.1 make-report.1
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@@ -59,4 +65,4 @@ post-install:
@${INSTALL_DATA} ${WRKSRC}/doc/timings ${DOCSDIR}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/games/enigma/Makefile b/games/enigma/Makefile
index 9121fa530655..01acc1acad18 100644
--- a/games/enigma/Makefile
+++ b/games/enigma/Makefile
@@ -28,7 +28,13 @@ CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
MAN6= enigma.6
+.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/gracer/Makefile b/games/gracer/Makefile
index e34ba430194c..243620628f82 100644
--- a/games/gracer/Makefile
+++ b/games/gracer/Makefile
@@ -34,8 +34,14 @@ CONFIGURE_ARGS+= --with-plib=${X11BASE}/plib
MAN6= gracer.6
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
pre-patch:
@${PERL} -pi -e 's,<malloc.h>,<stdlib.h>,' \
${WRKSRC}/common/gr_memory.h
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/graphics/evolvotron/Makefile b/graphics/evolvotron/Makefile
index 756b9b67ef02..7927c3c7761b 100644
--- a/graphics/evolvotron/Makefile
+++ b/graphics/evolvotron/Makefile
@@ -28,6 +28,12 @@ MAKE_ENV= QTDIR="${QT_PREFIX}" \
CONFIGURE_ENV= QTDIR="${QT_PREFIX}" \
QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's/-pthread/${PTHREAD_LIBS}/' ${WRKSRC}/common.pro
@@ -40,4 +46,4 @@ do-install:
@${INSTALL_DATA} ${WRKSRC}/evolvotron.html ${DOCSDIR}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/graphics/geomview/Makefile b/graphics/geomview/Makefile
index e49244927392..12480164b7d2 100644
--- a/graphics/geomview/Makefile
+++ b/graphics/geomview/Makefile
@@ -42,6 +42,12 @@ MAKE_ENV= CPU=FreeBSD MAPLE_LIB=${MAPLE_LIB}
AC_FAKE_FILES= aclocal.m4 config.h.in stamp-h stamp-h.in
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
post-configure:
cd ${WRKSRC}; ${TOUCH} ${AC_FAKE_FILES}
${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${TOUCH}
@@ -68,4 +74,4 @@ post-install:
${INSTALL_MAN} ${WRKSRC}/doc/html/pix/*.gif ${DOCSDIR}/html/pix
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/graphics/gimageview/Makefile b/graphics/gimageview/Makefile
index 33c82934ee18..b020bc91f199 100644
--- a/graphics/gimageview/Makefile
+++ b/graphics/gimageview/Makefile
@@ -26,6 +26,10 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
.include <bsd.port.pre.mk>
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
.if ${HAVE_GNOME:Mimlib}!=""
USE_GNOME+= imlib
PKGNAMESUFFIX= -imlib
diff --git a/graphics/gnofract4d/Makefile b/graphics/gnofract4d/Makefile
index ef6a0d9f6ce3..561ea7af820c 100644
--- a/graphics/gnofract4d/Makefile
+++ b/graphics/gnofract4d/Makefile
@@ -23,4 +23,10 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
INSTALLS_SHLIB= 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/graphics/ivtools/Makefile b/graphics/ivtools/Makefile
index 2cba4f8b9bf9..b404b0aab70c 100644
--- a/graphics/ivtools/Makefile
+++ b/graphics/ivtools/Makefile
@@ -28,6 +28,10 @@ MAN1= idraw.1 iclass.1 drawtool.1 comterp.1 comdraw.1 flipbook.1 graphdraw.1
.include <bsd.port.pre.mk>
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
.if ${ARCH} != "i386"
BROKEN= "fails to configure on ${ARCH}"
.endif
diff --git a/lang/erlang/Makefile b/lang/erlang/Makefile
index d1247bfbab36..b0e4adbf1787 100644
--- a/lang/erlang/Makefile
+++ b/lang/erlang/Makefile
@@ -46,6 +46,10 @@ CONFIGURE_ARGS+= --enable-threads --enable-hipe
.include <bsd.port.pre.mk>
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
.if !exists(${JAVABINDIR}/java)
WITHOUT_JAVA= yes
.endif
diff --git a/lang/erlang14/Makefile b/lang/erlang14/Makefile
index d1247bfbab36..b0e4adbf1787 100644
--- a/lang/erlang14/Makefile
+++ b/lang/erlang14/Makefile
@@ -46,6 +46,10 @@ CONFIGURE_ARGS+= --enable-threads --enable-hipe
.include <bsd.port.pre.mk>
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
.if !exists(${JAVABINDIR}/java)
WITHOUT_JAVA= yes
.endif
diff --git a/lang/ghc/Makefile b/lang/ghc/Makefile
index 462cd1859d27..bf3154cb2ba5 100644
--- a/lang/ghc/Makefile
+++ b/lang/ghc/Makefile
@@ -19,6 +19,10 @@ BOOT_DIST5= ghc-${PORTVERSION}-i386-unknown-freebsd5-boot${EXTRACT_SUFX}:boot
USE_BZIP2= yes
.include <bsd.port.pre.mk>
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
DISTFILES= ${SRC_DIST}
.if ${OSVERSION} < 500000
diff --git a/lang/ghc5/Makefile b/lang/ghc5/Makefile
index b8352f7ed5f1..4dfccaa8b908 100644
--- a/lang/ghc5/Makefile
+++ b/lang/ghc5/Makefile
@@ -20,6 +20,10 @@ BOOT_DIST5= ghc-${PORTVERSION}-i386-unknown-freebsd5-boot${EXTRACT_SUFX}:boot
USE_BZIP2= yes
.include <bsd.port.pre.mk>
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
DISTFILES= ${SRC_DIST}
.if ${OSVERSION} < 500000
diff --git a/lang/gprolog/Makefile b/lang/gprolog/Makefile
index d981bafe994b..d7220ff58945 100644
--- a/lang/gprolog/Makefile
+++ b/lang/gprolog/Makefile
@@ -27,8 +27,14 @@ CONFIGURE_ARGS= --with-c-flags="${CFLAGS}"
PLIST_SUB+= GPROLOG_VER=${PORTVERSION}
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
post-patch:
@${REINPLACE_CMD} -e \
's|<malloc\.h>|<stdlib.h>|g' ${WRKSRC}/EnginePl/machine.c
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/mail/ftrack/Makefile b/mail/ftrack/Makefile
index a859b24a9ada..89c76a07b8b3 100644
--- a/mail/ftrack/Makefile
+++ b/mail/ftrack/Makefile
@@ -25,6 +25,12 @@ ALL_TARGET= ftrack
MAKEFILE= ${WRKSRC}/MakeFiles/FreeBSD/Makefile
EXTRACT_AFTER_ARGS= -d ${WRKSRC}
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
pre-patch:
${REINPLACE_CMD} -e "s@-I../../hpp -I../../.. -O3@-Ihpp -I${LOCALBASE}/include ${CFLAGS}@g; \
s@../../src/@src/@g; s@g\+\+@${CC}@g; \
@@ -50,4 +56,4 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/samples/${FILE} ${PREFIX}/etc/ftrack
.endfor
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/math/gambit/Makefile b/math/gambit/Makefile
index e2ddd8f5640f..f338b88a73a6 100644
--- a/math/gambit/Makefile
+++ b/math/gambit/Makefile
@@ -23,4 +23,10 @@ GNU_CONFIGURE= yes
CONFIGURE_ENV= WX_CONFIG=${X11BASE}/bin/wxgtk2-2.4-config
MAKE_ENV= WX_CONFIG=${X11BASE}/bin/wxgtk2-2.4-config
-.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/math/gnumeric/Makefile b/math/gnumeric/Makefile
index 3939513655a3..b25aaad8696a 100644
--- a/math/gnumeric/Makefile
+++ b/math/gnumeric/Makefile
@@ -36,9 +36,15 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
PLIST_SUB= VERSION=${PORTVERSION}-bonobo
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
post-install:
.for dir in share/gnome lib
@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${PREFIX}/${dir}/gnumeric
.endfor
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/math/goblin/Makefile b/math/goblin/Makefile
index 06fbde562900..31a67f2b98eb 100644
--- a/math/goblin/Makefile
+++ b/math/goblin/Makefile
@@ -37,6 +37,10 @@ WISH= ${LOCALBASE}/bin/wish8.3
.include <bsd.port.pre.mk>
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
.if ${OSVERSION} < 500035
CXXFLAGS+= -fhuge-objects
.endif
diff --git a/math/it++/Makefile b/math/it++/Makefile
index ec900b24b50c..531ab3263d99 100644
--- a/math/it++/Makefile
+++ b/math/it++/Makefile
@@ -26,6 +26,10 @@ USE_GMAKE= yes
.include <bsd.port.pre.mk>
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
BROKEN= "Does not compile on amd64 or ia64"
.endif
diff --git a/misc/goblin/Makefile b/misc/goblin/Makefile
index 06fbde562900..31a67f2b98eb 100644
--- a/misc/goblin/Makefile
+++ b/misc/goblin/Makefile
@@ -37,6 +37,10 @@ WISH= ${LOCALBASE}/bin/wish8.3
.include <bsd.port.pre.mk>
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
.if ${OSVERSION} < 500035
CXXFLAGS+= -fhuge-objects
.endif
diff --git a/misc/lile/Makefile b/misc/lile/Makefile
index 083f36afba44..f6d26de868a7 100644
--- a/misc/lile/Makefile
+++ b/misc/lile/Makefile
@@ -19,9 +19,15 @@ COMMENT= An Input Line Editor that wraps itself around programs
MAN1= ile.1
PLIST_FILES= bin/ile
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
do-configure:
@(cd ${WRKSRC}; ${MV} Makefile Makefile.old; \
${SED} -e s:/usr/local:${PREFIX}: <Makefile.old > Makefile; \
${ECHO_CMD} all: ile >> Makefile; ${ECHO_CMD} CC=cc ${CFLAGS} >> Makefile)
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/multimedia/gopchop/Makefile b/multimedia/gopchop/Makefile
index 2662fefe1a31..86705ad55692 100644
--- a/multimedia/gopchop/Makefile
+++ b/multimedia/gopchop/Makefile
@@ -38,10 +38,16 @@ USE_GETTEXT= yes
PLIST_SUB+= NLS=""
.endif
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's| -mcpu=.*"|"|g' ${WRKSRC}/configure
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
's|pixmaps/\$$(PACKAGE)|\$$(PACKAGE)/pixmaps|g ; \
s|-lglib||g'
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/net-im/gale/Makefile b/net-im/gale/Makefile
index d117ae444866..3b67978c290d 100644
--- a/net-im/gale/Makefile
+++ b/net-im/gale/Makefile
@@ -31,10 +31,16 @@ CPPFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib \
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
pre-configure:
cd ${WRKSRC} && ${ACLOCAL} -I ${LIBTOOL_SHAREDIR}/libltdl
post-install:
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/net/easysoap/Makefile b/net/easysoap/Makefile
index df0bd3497ebe..12e79d8401d3 100644
--- a/net/easysoap/Makefile
+++ b/net/easysoap/Makefile
@@ -26,6 +26,10 @@ INSTALLS_SHLIB= yes
.include <bsd.port.pre.mk>
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
pre-configure:
@echo "CPPFLAGS=${CPPFLAGS} CXXFLAGS=${CXXFLAGS}"
diff --git a/net/gale/Makefile b/net/gale/Makefile
index d117ae444866..3b67978c290d 100644
--- a/net/gale/Makefile
+++ b/net/gale/Makefile
@@ -31,10 +31,16 @@ CPPFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib \
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
pre-configure:
cd ${WRKSRC} && ${ACLOCAL} -I ${LIBTOOL_SHAREDIR}/libltdl
post-install:
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/net/gatekeeper/Makefile b/net/gatekeeper/Makefile
index 2a9185ac97a3..ab9d0dcb941a 100644
--- a/net/gatekeeper/Makefile
+++ b/net/gatekeeper/Makefile
@@ -31,8 +31,14 @@ MAKE_ENV= PWLIBDIR=${WRKDIRPREFIX}${.CURDIR}/../../devel/pwlib/work/pwlib \
THE_MACHTYPE= ${ARCH:S/i386/x86/}
MAKE_ARGS= OSTYPE=${OPSYS} MACHTYPE=${THE_MACHTYPE} OSRELEASE=${OSVERSION} CPLUS=${CXX} HAS_RADACCT=1
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/obj_${OPSYS}_${THE_MACHTYPE}_r/gnugk ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/obj_${OPSYS}_${THE_MACHTYPE}_r/addpasswd ${PREFIX}/bin
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/science/ghemical/Makefile b/science/ghemical/Makefile
index 84ef2c8d1a62..5b176ffc48ac 100644
--- a/science/ghemical/Makefile
+++ b/science/ghemical/Makefile
@@ -28,6 +28,12 @@ CONFIGURE_ARGS= --enable-mpqc
USE_AUTOCONF_VER= 253
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
pre-configure:
@cd ${WRKDIR}/${DISTNAME} ; ${AUTOCONF}
@@ -41,4 +47,4 @@ pre-build:
(cd ${WRKSRC}/miniMOPAC ; ${SH} ${FILESDIR}/ghemical-f2c.sh)
@${REINPLACE_CMD} -e 's|f2c.h|g2c.h|g;' ${WRKSRC}/miniMOPAC/*.c
@${REINPLACE_CMD} -e 's|f2c.h|g2c.h|g;' ${WRKSRC}/src/common/qm1e_mopac.cpp
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/security/fwbuilder-devel/Makefile b/security/fwbuilder-devel/Makefile
index 0fc04800c70e..eda41e616c1d 100644
--- a/security/fwbuilder-devel/Makefile
+++ b/security/fwbuilder-devel/Makefile
@@ -32,4 +32,10 @@ PLIST_SUB+= PORTVERSION="${PORTVERSION}"
MAN1= fwbuilder.1 fwblookup.1 fwbedit.1 fwb_ipt.1 fwb_ipf.1 fwb_ipfw.1 fwb_pf.1 \
fwb_install.1 fwb_compile_all.1
-.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/security/fwbuilder/Makefile b/security/fwbuilder/Makefile
index 0fc04800c70e..eda41e616c1d 100644
--- a/security/fwbuilder/Makefile
+++ b/security/fwbuilder/Makefile
@@ -32,4 +32,10 @@ PLIST_SUB+= PORTVERSION="${PORTVERSION}"
MAN1= fwbuilder.1 fwblookup.1 fwbedit.1 fwb_ipt.1 fwb_ipf.1 fwb_ipfw.1 fwb_pf.1 \
fwb_install.1 fwb_compile_all.1
-.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/security/fwbuilder2/Makefile b/security/fwbuilder2/Makefile
index 0fc04800c70e..eda41e616c1d 100644
--- a/security/fwbuilder2/Makefile
+++ b/security/fwbuilder2/Makefile
@@ -32,4 +32,10 @@ PLIST_SUB+= PORTVERSION="${PORTVERSION}"
MAN1= fwbuilder.1 fwblookup.1 fwbedit.1 fwb_ipt.1 fwb_ipf.1 fwb_ipfw.1 fwb_pf.1 \
fwb_install.1 fwb_compile_all.1
-.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/security/hashish/Makefile b/security/hashish/Makefile
index cbfeb9de6300..c25e3b0bb1b0 100644
--- a/security/hashish/Makefile
+++ b/security/hashish/Makefile
@@ -35,4 +35,10 @@ CONFIGURE_ENV+= WX_CONFIG="${X11BASE}/bin/wxgtk2-2.4-config"
USE_GMAKE= yes
PLIST_FILES= bin/hashish
-.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/textproc/iiimf-server/Makefile b/textproc/iiimf-server/Makefile
index 5b906881431e..5a9661b4c53b 100644
--- a/textproc/iiimf-server/Makefile
+++ b/textproc/iiimf-server/Makefile
@@ -28,6 +28,12 @@ USE_REINPLACE= yes
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX}
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
post-patch:
${REINPLACE_CMD} -e "s,-lpthread,-pthread,g" \
-e "s,-D_POSIX_C_SOURCE=199506L,,g" \
@@ -39,4 +45,4 @@ post-patch:
${WRKSRC}/src/IMSvrCfg.cpp \
${WRKSRC}/src/watchdog.c
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/textproc/iiimf-x/Makefile b/textproc/iiimf-x/Makefile
index 822717922e48..017f688fd262 100644
--- a/textproc/iiimf-x/Makefile
+++ b/textproc/iiimf-x/Makefile
@@ -33,6 +33,10 @@ DIRS= iiimxcf/xiiimp.so iiimxcf/htt_xbe
.include <bsd.port.pre.mk>
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
.if ${ARCH} != "i386"
BROKEN= "Does not compile on !i386"
.endif
diff --git a/x11-toolkits/gnome--/Makefile b/x11-toolkits/gnome--/Makefile
index 3285becd062a..c55f49605e8b 100644
--- a/x11-toolkits/gnome--/Makefile
+++ b/x11-toolkits/gnome--/Makefile
@@ -28,4 +28,10 @@ LIBTOOLFLAGS= --disable-ltlibs --release-ignore
INSTALLS_SHLIB= yes
CONFIGURE_ARGS= --enable-static
-.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/x11-toolkits/inti/Makefile b/x11-toolkits/inti/Makefile
index 5436992d9f1e..cf975859e13e 100644
--- a/x11-toolkits/inti/Makefile
+++ b/x11-toolkits/inti/Makefile
@@ -26,6 +26,12 @@ INSTALLS_SHLIB= yes
PORTDOCS= *
.endif
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
post-configure:
@${TOUCH} ${WRKSRC}/inti-config.h.in
@@ -45,4 +51,4 @@ post-install:
@${FIND} ${PREFIX}/share/gnome/inti -type d | ${SORT} -r | \
${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/x11-wm/fbdesk/Makefile b/x11-wm/fbdesk/Makefile
index bb2f979e86f3..de847543ac67 100644
--- a/x11-wm/fbdesk/Makefile
+++ b/x11-wm/fbdesk/Makefile
@@ -24,6 +24,10 @@ PORTDOCS= COPYING ChangeLog INSTALL README
.include <bsd.port.pre.mk>
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
.if ${OSVERSION} >= 500000
USE_REINPLACE= yes
post-patch:
diff --git a/x11/fbdesk/Makefile b/x11/fbdesk/Makefile
index bb2f979e86f3..de847543ac67 100644
--- a/x11/fbdesk/Makefile
+++ b/x11/fbdesk/Makefile
@@ -24,6 +24,10 @@ PORTDOCS= COPYING ChangeLog INSTALL README
.include <bsd.port.pre.mk>
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
.if ${OSVERSION} >= 500000
USE_REINPLACE= yes
post-patch: