summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2003-10-16 02:26:47 +0000
committerKris Kennaway <kris@FreeBSD.org>2003-10-16 02:26:47 +0000
commit73f86248bd7ce88d58060cf621b9d29042826aa6 (patch)
treefb4cf443300cde8186ddf6c943f98d6e3d8a1ebb
parentBROKEN on 5.x: does not compile (diff)
BROKEN on 5.x: does not compile
Notes
Notes: svn path=/head/; revision=91384
-rw-r--r--cad/chipmunk/Makefile8
-rw-r--r--cad/felt/Makefile8
-rw-r--r--cad/irsim/Makefile8
-rw-r--r--cad/magic/Makefile8
-rw-r--r--devel/kaptain/Makefile8
-rw-r--r--devel/m6811-gcc/Makefile8
-rw-r--r--editors/lfhex/Makefile8
-rw-r--r--games/blockade/Makefile8
-rw-r--r--games/enigma/Makefile8
-rw-r--r--games/exult/Makefile8
-rw-r--r--games/jfk/Makefile8
-rw-r--r--games/tinymux/Makefile8
-rw-r--r--games/xgammon/Makefile8
-rw-r--r--games/xhime/Makefile8
-rw-r--r--games/xrisk/Makefile8
-rw-r--r--graphics/gnofract4d/Makefile8
-rw-r--r--graphics/plotutils/Makefile8
-rw-r--r--graphics/vertex/Makefile8
-rw-r--r--graphics/xzgv/Makefile4
-rw-r--r--lang/pm3-base/Makefile4
-rw-r--r--math/asir2000/Makefile8
-rw-r--r--misc/muuz/Makefile8
-rw-r--r--misc/wmcp/Makefile8
-rw-r--r--net-im/ari-yahoo/Makefile8
-rw-r--r--net-mgmt/cflowd/Makefile8
-rw-r--r--net/ari-yahoo/Makefile8
-rw-r--r--net/cflowd/Makefile8
-rw-r--r--net/tcpview/Makefile4
-rw-r--r--palm/ppmtoTbmp/Makefile8
-rw-r--r--palm/prc-tools/Makefile4
-rw-r--r--science/felt/Makefile8
-rw-r--r--security/pam-pgsql/Makefile8
-rw-r--r--textproc/htmltolatex/Makefile8
-rw-r--r--www/ashe/Makefile8
-rw-r--r--www/chimera/Makefile8
-rw-r--r--www/php-screw/Makefile4
-rw-r--r--x11-toolkits/gtkmathview/Makefile8
-rw-r--r--x11-wm/wmcp/Makefile8
38 files changed, 251 insertions, 33 deletions
diff --git a/cad/chipmunk/Makefile b/cad/chipmunk/Makefile
index 43a7128881f0..9e0b2556974d 100644
--- a/cad/chipmunk/Makefile
+++ b/cad/chipmunk/Makefile
@@ -25,7 +25,13 @@ NO_WRKSUBDIR= yes
USE_XLIB= yes
USE_GMAKE= yes
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 501000
+BROKEN= "Does not compile"
+.endif
+
post-extract:
@${CP} -f ${DISTDIR}/${DIST_SUBDIR}/Makefile ${WRKSRC}/Makefile
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/cad/felt/Makefile b/cad/felt/Makefile
index 6cdeb048382c..36e372b57745 100644
--- a/cad/felt/Makefile
+++ b/cad/felt/Makefile
@@ -29,6 +29,12 @@ MAN1= burlap.1 corduroy.1 felt.1 patchwork.1 velvet.1 yardstick.1
MAN3= Drawing.3
MAN4= corduroy.4 felt.4
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 501000
+BROKEN= "Does not compile"
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's,<malloc.h>,<stdlib.h>, ; s,"malloc.h",<stdlib.h>,' \
${WRKSRC}/lib/Felt/parser.c \
@@ -47,4 +53,4 @@ post-install:
${MKDIR} ${PREFIX}/share/doc/FElt
${CP} ${WRKSRC}/*.html ${PREFIX}/share/doc/FElt
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/cad/irsim/Makefile b/cad/irsim/Makefile
index 7b2be58ef87c..12d08e74608c 100644
--- a/cad/irsim/Makefile
+++ b/cad/irsim/Makefile
@@ -19,8 +19,14 @@ MAN1= irsim.1
MAN3= irsim-analyzer.3
MAN5= netchange.5
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 501000
+BROKEN= "Does not compile"
+.endif
+
# othewise patch will complain
post-extract:
@${FIND} ${WRKSRC} -name RCS | ${XARGS} ${RM} -rf
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/cad/magic/Makefile b/cad/magic/Makefile
index 8d742eb88b7b..bf6c1d42428c 100644
--- a/cad/magic/Makefile
+++ b/cad/magic/Makefile
@@ -26,6 +26,12 @@ MAN3= dqueue.3 extflat.3 geometry.3 hash.3 heap.3 libmalloc.3 list.3 \
MAN5= cmap.5 displays.5 dlys.5 dstyle.5 ext.5 glyphs.5 magic.5 net.5 sim.5
MAN8= prleak.8
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 501000
+BROKEN= "Does not compile"
+.endif
+
post-patch:
@${FIND} ${WRKSRC} -name "Makefile" | ${XARGS} ${REINPLACE_CMD} -e \
's|make |\$$\{MAKE\} |g'
@@ -65,4 +71,4 @@ post-install:
@${CHOWN} ${SHAREOWN}:${SHAREGRP} ${PREFIX}/lib/mpack.h \
${PREFIX}/lib/libmpack.a
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/devel/kaptain/Makefile b/devel/kaptain/Makefile
index f7aa5d72cafe..8fef8c9831b2 100644
--- a/devel/kaptain/Makefile
+++ b/devel/kaptain/Makefile
@@ -26,6 +26,12 @@ CONFIGURE_ARGS= --enable-mt
MAN1= kaptain.1
INFO= kaptain
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 501000
+BROKEN= "Does not compile"
+.endif
+
post-extract:
@${RM} -f ${WRKSRC}/doc/*.info*
@@ -33,4 +39,4 @@ post-patch:
@${REINPLACE_CMD} -e \
's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/examples/dia2code.kaptn
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/devel/m6811-gcc/Makefile b/devel/m6811-gcc/Makefile
index 958771d83691..75825939e891 100644
--- a/devel/m6811-gcc/Makefile
+++ b/devel/m6811-gcc/Makefile
@@ -41,9 +41,15 @@ CONFIGURE_ARGS= --prefix=${PREFIX} --target=m6811-elf \
MAN1= m6811-elf-g++.1 m6811-elf-g77.1 m6811-elf-gcc.1 cccp.1
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 501000
+BROKEN= "Does not compile"
+.endif
+
post-patch:
@${MV} ${WRKSRC}/Makefile.in ${WRKSRC}/Makefile.in.sed
${SED} -e "s/TARGET_CONFIGDIRS = libiberty/TARGET_CONFIGDIRS =/" \
${WRKSRC}/Makefile.in.sed > ${WRKSRC}/Makefile.in
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/editors/lfhex/Makefile b/editors/lfhex/Makefile
index 7a2cdb995b5b..a92b70fbe495 100644
--- a/editors/lfhex/Makefile
+++ b/editors/lfhex/Makefile
@@ -24,6 +24,12 @@ CONFIGURE_ARGS= --with-qt-moc=${MOC}
USE_GMAKE= yes
CONFIGURE_ENV= CXXFLAGS="${PTHREAD_CFLAGS}"
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 501000
+BROKEN= "Does not compile"
+.endif
+
post-patch:
@${REINPLACE_CMD} -e "s,%%LOCALBASE%%,${LOCALBASE},g ; \
s,%%X11BASE%%,${X11BASE},g" ${WRKSRC}/src/Makefile.in
@@ -31,4 +37,4 @@ post-patch:
post-configure:
${REINPLACE_CMD} -e "s,LFLAGS =,LFLAGS = ${PTHREAD_LIBS} ${LDFLAGS}," ${WRKSRC}/src/Makefile
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/games/blockade/Makefile b/games/blockade/Makefile
index 991ff7f9f6f1..010438760ab5 100644
--- a/games/blockade/Makefile
+++ b/games/blockade/Makefile
@@ -18,8 +18,14 @@ USE_XLIB= yes
MAN6= blockade.6
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 501000
+BROKEN= "Does not compile"
+.endif
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/blockade ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/blockade.6 ${PREFIX}/man/man6
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/games/enigma/Makefile b/games/enigma/Makefile
index 66416d635e60..c8010d48018a 100644
--- a/games/enigma/Makefile
+++ b/games/enigma/Makefile
@@ -32,7 +32,13 @@ CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}" \
MAN6= enigma.6
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 501000
+BROKEN= "Does not compile"
+.endif
+
post-install:
@${CAT} pkg-message
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/games/exult/Makefile b/games/exult/Makefile
index 3727ff419dc2..2156b3612747 100644
--- a/games/exult/Makefile
+++ b/games/exult/Makefile
@@ -34,6 +34,12 @@ CONFIGURE_ENV= CPPFLAGS=-I${X11BASE}/include \
MAN6= exult.6
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 501000
+BROKEN= "Does not compile"
+.endif
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/exult ${PREFIX}/bin
@${MKDIR} ${DATADIR}
@@ -55,4 +61,4 @@ post-install:
@${ECHO_MSG} "* Please, read ${DOCSDIR}/README for additional information"
@${ECHO_MSG} "******************************************************************************"
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/games/jfk/Makefile b/games/jfk/Makefile
index 3ac5919ea447..0be98a05e09b 100644
--- a/games/jfk/Makefile
+++ b/games/jfk/Makefile
@@ -19,6 +19,12 @@ CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
GNU_CONFIGURE= yes
USE_SDL= yes
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 501000
+BROKEN= "Does not compile"
+.endif
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/client/jfkclient ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/src/server/jfkserver ${PREFIX}/bin
@@ -35,4 +41,4 @@ do-install:
post-install:
@${SED} s-\$${PREFIX}-${PREFIX}-g < ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/games/tinymux/Makefile b/games/tinymux/Makefile
index 821a9de334e8..3e8bb889fbf4 100644
--- a/games/tinymux/Makefile
+++ b/games/tinymux/Makefile
@@ -23,6 +23,12 @@ USE_AUTOCONF= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 501000
+BROKEN= "Does not compile"
+.endif
+
post-extract:
@${RM} -f ${WRKSRC}/gdbm.h
@@ -61,4 +67,4 @@ do-install:
.endfor
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/games/xgammon/Makefile b/games/xgammon/Makefile
index cac3543876d6..5270cbb0ee97 100644
--- a/games/xgammon/Makefile
+++ b/games/xgammon/Makefile
@@ -25,6 +25,12 @@ MAN6= xgammon.6
PATCH_FILES= ${PORTNAME}-${PORTVERSION}-dirent.patch
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 501000
+BROKEN= "Does not compile"
+.endif
+
do-extract:
@${RM} -rf ${WRKDIR}
@${MKDIR} ${WRKDIR}
@@ -37,4 +43,4 @@ pre-patch:
@${PATCH} ${PATCH_DIST_ARGS} < ${WRKDIR}/${file}
.endfor
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/games/xhime/Makefile b/games/xhime/Makefile
index a0c74efbe764..dc928b4ecc5c 100644
--- a/games/xhime/Makefile
+++ b/games/xhime/Makefile
@@ -22,6 +22,12 @@ MAN6= xhime.6
NO_CDROM= 'contains commercial character data'
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 501000
+BROKEN= "Does not compile"
+.endif
+
post-install:
${STRIP_CMD} ${PREFIX}/bin/xhime
${INSTALL_MAN} ${WRKSRC}/xhime-man.euc \
@@ -36,4 +42,4 @@ post-install:
)
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/games/xrisk/Makefile b/games/xrisk/Makefile
index 0c98c0dd9543..f8d974026281 100644
--- a/games/xrisk/Makefile
+++ b/games/xrisk/Makefile
@@ -19,4 +19,10 @@ MAN6= xrisk.6
RESTRICTED= "Possible trademark infringement"
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 501000
+BROKEN= "Does not compile"
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/graphics/gnofract4d/Makefile b/graphics/gnofract4d/Makefile
index 6804a89ad31b..4e43bd82fd2f 100644
--- a/graphics/gnofract4d/Makefile
+++ b/graphics/gnofract4d/Makefile
@@ -24,10 +24,16 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --enable-compile-warnings=no
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 501000
+BROKEN= "Does not compile"
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
's|^CXXFLAGS =.* -D|CXXFLAGS = @CXXFLAGS@ -D|g ; \
s|gnofract4d_helpdir)/images|gnofract4d_helpdir)|g'
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/graphics/plotutils/Makefile b/graphics/plotutils/Makefile
index 18a68053abd3..a1e9b7f79385 100644
--- a/graphics/plotutils/Makefile
+++ b/graphics/plotutils/Makefile
@@ -28,7 +28,13 @@ MAN1= ode.1 plot.1 plotfont.1 spline.1 tek2plot.1
INFO= libxmi plotutils
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 501000
+BROKEN= "Does not compile"
+.endif
+
pre-patch:
@${PERL} -pi -e 's|-lXm |\$$\{MOTIFLIB\} |g' ${WRKSRC}/configure
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/graphics/vertex/Makefile b/graphics/vertex/Makefile
index 86253a2e6428..64be134580df 100644
--- a/graphics/vertex/Makefile
+++ b/graphics/vertex/Makefile
@@ -30,8 +30,14 @@ INSTALL_TARGET= vertex_install
MAN1= ${PORTNAME}.1
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 501000
+BROKEN= "Does not compile"
+.endif
+
pre-patch:
@${FIND} ${WRKSRC} -name "*.[c,h]" | ${XARGS} ${PERL} -pi -e \
's|malloc.h|stdlib.h|'
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/graphics/xzgv/Makefile b/graphics/xzgv/Makefile
index df8e571388b1..f5292b7049ff 100644
--- a/graphics/xzgv/Makefile
+++ b/graphics/xzgv/Makefile
@@ -33,4 +33,8 @@ post-patch:
CFLAGS+= -DINTERP_MMX
.endif
+.if ${OSVERSION} >= 501000
+BROKEN= "Does not compile"
+.endif
+
.include <bsd.port.post.mk>
diff --git a/lang/pm3-base/Makefile b/lang/pm3-base/Makefile
index 924f379dda15..fab70752abca 100644
--- a/lang/pm3-base/Makefile
+++ b/lang/pm3-base/Makefile
@@ -43,6 +43,10 @@ SOVERSION= 7
.include <bsd.port.pre.mk>
+.if ${OSVERSION} >= 501000
+BROKEN= "Does not compile"
+.endif
+
.if ${PORTOBJFORMAT} == "aout"
TARGET= FreeBSD2
TARGETDIR= freebsd-2
diff --git a/math/asir2000/Makefile b/math/asir2000/Makefile
index 141d123032d9..e86d749d77b1 100644
--- a/math/asir2000/Makefile
+++ b/math/asir2000/Makefile
@@ -34,6 +34,12 @@ LIB_DATA= alpi bfct bgk const cyclic defs.h dfff dmul fctrdata fctrtest \
fff gr ifplot katsura launch mat nf num primdec \
ratint robot solve sp sturm xm
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 501000
+BROKEN= "Does not compile"
+.endif
+
pre-install:
@${MKDIR} ${DATADIR}
@${MKDIR} ${DOCSDIR}
@@ -52,4 +58,4 @@ post-install:
@${TAR} xfz ${DISTDIR}/${ASIR_DOC} -C ${DOCSDIR}
@${INSTALL_MAN} ${DOCSDIR}/${MAN1} ${PREFIX}/man/man1
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/misc/muuz/Makefile b/misc/muuz/Makefile
index c399f38ba2c0..9fa202a47e87 100644
--- a/misc/muuz/Makefile
+++ b/misc/muuz/Makefile
@@ -18,4 +18,10 @@ LIB_DEPENDS= Xaw3d.${XAWVER}:${PORTSDIR}/x11-toolkits/Xaw3d
USE_IMAKE= yes
MAN1= muuz.1
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 501000
+BROKEN= "Does not compile"
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/misc/wmcp/Makefile b/misc/wmcp/Makefile
index 070e12b47d04..54c301f4b97f 100644
--- a/misc/wmcp/Makefile
+++ b/misc/wmcp/Makefile
@@ -20,4 +20,10 @@ ALL_TARGET= clean wmcp
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/wmcp ${PREFIX}/bin
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 501000
+BROKEN= "Does not compile"
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/net-im/ari-yahoo/Makefile b/net-im/ari-yahoo/Makefile
index 3b9eec3047d9..8905399ef98b 100644
--- a/net-im/ari-yahoo/Makefile
+++ b/net-im/ari-yahoo/Makefile
@@ -17,4 +17,10 @@ COMMENT= A console Yahoo! messenger client
GNU_CONFIGURE= yes
USE_GMAKE= yes
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 501000
+BROKEN= "Does not compile"
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/net-mgmt/cflowd/Makefile b/net-mgmt/cflowd/Makefile
index 7c9b9b7f7045..49eb71dc993d 100644
--- a/net-mgmt/cflowd/Makefile
+++ b/net-mgmt/cflowd/Makefile
@@ -32,6 +32,12 @@ CONFIGURE_ARGS+=--enable-shared --with-artspp=${PREFIX}
MANL= cfdases.l cfdifmatrix.l cfdnets.l cfdnexthops.l \
cfdportmatrix.l cfdprotos.l cfdtos.l flowdump.l flowwatch.l
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 501000
+BROKEN= "Does not compile"
+.endif
+
.if !defined(CFLOWD_FLOWSCAN_PATCH)
pre-everything::
@${ECHO} "you can compile cflowd with patches for FlowScan by typing:"
@@ -42,4 +48,4 @@ post-install:
${INSTALL_SCRIPT} ${FILESDIR}/cflowd.sh \
${PREFIX}/etc/rc.d/cflowd-base.sh.sample
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/net/ari-yahoo/Makefile b/net/ari-yahoo/Makefile
index 3b9eec3047d9..8905399ef98b 100644
--- a/net/ari-yahoo/Makefile
+++ b/net/ari-yahoo/Makefile
@@ -17,4 +17,10 @@ COMMENT= A console Yahoo! messenger client
GNU_CONFIGURE= yes
USE_GMAKE= yes
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 501000
+BROKEN= "Does not compile"
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/net/cflowd/Makefile b/net/cflowd/Makefile
index 7c9b9b7f7045..49eb71dc993d 100644
--- a/net/cflowd/Makefile
+++ b/net/cflowd/Makefile
@@ -32,6 +32,12 @@ CONFIGURE_ARGS+=--enable-shared --with-artspp=${PREFIX}
MANL= cfdases.l cfdifmatrix.l cfdnets.l cfdnexthops.l \
cfdportmatrix.l cfdprotos.l cfdtos.l flowdump.l flowwatch.l
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 501000
+BROKEN= "Does not compile"
+.endif
+
.if !defined(CFLOWD_FLOWSCAN_PATCH)
pre-everything::
@${ECHO} "you can compile cflowd with patches for FlowScan by typing:"
@@ -42,4 +48,4 @@ post-install:
${INSTALL_SCRIPT} ${FILESDIR}/cflowd.sh \
${PREFIX}/etc/rc.d/cflowd-base.sh.sample
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/net/tcpview/Makefile b/net/tcpview/Makefile
index 884349416d16..7f22c93f0935 100644
--- a/net/tcpview/Makefile
+++ b/net/tcpview/Makefile
@@ -22,6 +22,10 @@ MAN1= tcpview.1
.include <bsd.port.pre.mk>
+.if ${OSVERSION} >= 501000
+BROKEN= "Does not compile"
+.endif
+
post-patch:
.for f in nametoaddr.c addrtoname.c print-nfs.c detail-tcp.c tv_addrtoname.c
@${REINPLACE_CMD} -e 's/NTOHL/ntohl/ ; s/NTOHS/ntohs/' ${WRKSRC}/${f}
diff --git a/palm/ppmtoTbmp/Makefile b/palm/ppmtoTbmp/Makefile
index 0826c3881d52..cb466b657c6e 100644
--- a/palm/ppmtoTbmp/Makefile
+++ b/palm/ppmtoTbmp/Makefile
@@ -17,6 +17,12 @@ LIB_DEPENDS= netpbm.1:${PORTSDIR}/graphics/netpbm
USE_REINPLACE= yes
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 501000
+BROKEN= "Does not compile"
+.endif
+
post-patch:
@${REINPLACE_CMD} -e "s|^CFLAGS =.*|CFLAGS += -I${LOCALBASE}/include|g; \
s|^LDLIBS =|LDLIBS = -L${LOCALBASE}/lib|g" ${WRKSRC}/Makefile
@@ -32,4 +38,4 @@ do-install:
${MKDIR} ${PREFIX}/share/ppmtoTbmp
${INSTALL_DATA} ${WRKSRC}/q?.map ${PREFIX}/share/${PORTNAME}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/palm/prc-tools/Makefile b/palm/prc-tools/Makefile
index dd6208615079..0a41bbaff2cc 100644
--- a/palm/prc-tools/Makefile
+++ b/palm/prc-tools/Makefile
@@ -52,6 +52,10 @@ MAN1= cccp.1 m68k-palmos-g++.1 m68k-palmos-gcc.1 \
CFLAGS:= ${CFLAGS:C/-m[-=0-9a-z]*//g}
+.if ${OSVERSION} >= 501000
+BROKEN= "Does not compile"
+.endif
+
post-extract:
@(cd ${WRKDIR} && ${GZIP_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/${DISTNAME}.tar.gz ${EXTRACT_AFTER_ARGS})
diff --git a/science/felt/Makefile b/science/felt/Makefile
index 6cdeb048382c..36e372b57745 100644
--- a/science/felt/Makefile
+++ b/science/felt/Makefile
@@ -29,6 +29,12 @@ MAN1= burlap.1 corduroy.1 felt.1 patchwork.1 velvet.1 yardstick.1
MAN3= Drawing.3
MAN4= corduroy.4 felt.4
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 501000
+BROKEN= "Does not compile"
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's,<malloc.h>,<stdlib.h>, ; s,"malloc.h",<stdlib.h>,' \
${WRKSRC}/lib/Felt/parser.c \
@@ -47,4 +53,4 @@ post-install:
${MKDIR} ${PREFIX}/share/doc/FElt
${CP} ${WRKSRC}/*.html ${PREFIX}/share/doc/FElt
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/security/pam-pgsql/Makefile b/security/pam-pgsql/Makefile
index 2794f2bbf1e8..845607099eec 100644
--- a/security/pam-pgsql/Makefile
+++ b/security/pam-pgsql/Makefile
@@ -30,6 +30,12 @@ PATCH_DIST_STRIP= -p1
MAKEFILE= ${FILESDIR}/Makefile.bsd
MAKE_ARGS+= FILESDIR=${FILESDIR}
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 501000
+BROKEN= "Does not compile"
+.endif
+
post-install:
${CAT} ${PKGMESSAGE}
.if !defined(NOPORTDOCS)
@@ -41,4 +47,4 @@ DOCDIR= share/doc/pam-pgsql
PLIST_SUB+= DOCDIR=${DOCDIR}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/textproc/htmltolatex/Makefile b/textproc/htmltolatex/Makefile
index d526f2342c3f..5449c8453ef3 100644
--- a/textproc/htmltolatex/Makefile
+++ b/textproc/htmltolatex/Makefile
@@ -25,9 +25,15 @@ MAKEFILE= GNUmakefile
MAKE_ARGS= CXX="${CXX}" \
CXXFLAGS="${CXXFLAGS} -I${LOCALBASE}/include -DUNIX"
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 501000
+BROKEN= "Does not compile"
+.endif
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/h2l ${PREFIX}/bin
@${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/nmr.tex ${DATADIR}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/www/ashe/Makefile b/www/ashe/Makefile
index e150610db1fe..3fa636aae9e0 100644
--- a/www/ashe/Makefile
+++ b/www/ashe/Makefile
@@ -24,6 +24,12 @@ USE_MOTIF= yes
USE_IMAKE= yes
MAN1= xhtml.1
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 501000
+BROKEN= "Does not compile"
+.endif
+
post-patch:
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/src/XHTML.ad
@@ -33,4 +39,4 @@ do-build:
${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET})
.endfor
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/www/chimera/Makefile b/www/chimera/Makefile
index d1e3e76ace2e..4121874f296e 100644
--- a/www/chimera/Makefile
+++ b/www/chimera/Makefile
@@ -19,4 +19,10 @@ USE_IMAKE= yes
MAN1= chimera.1
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 501000
+BROKEN= "Does not compile"
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/www/php-screw/Makefile b/www/php-screw/Makefile
index 65b9619aa2d6..158d99364577 100644
--- a/www/php-screw/Makefile
+++ b/www/php-screw/Makefile
@@ -27,6 +27,10 @@ CONFIGURE_ARGS+=--enable-php_screw=shared
.include <bsd.port.pre.mk>
.include "${.CURDIR}/../../lang/php4/bsd.php.mk"
+.if ${OSVERSION} >= 501000
+BROKEN= "Does not compile"
+.endif
+
pre-everything::
@${ECHO} ""
@${ECHO} "To achieve real security, define your own encryption"
diff --git a/x11-toolkits/gtkmathview/Makefile b/x11-toolkits/gtkmathview/Makefile
index 6a0de6f850d9..433aab8f99c4 100644
--- a/x11-toolkits/gtkmathview/Makefile
+++ b/x11-toolkits/gtkmathview/Makefile
@@ -32,9 +32,15 @@ INSTALLS_SHLIB= yes
MAN1= mathmlviewer.1 mathml2ps.1
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 501000
+BROKEN= "Does not compile"
+.endif
+
post-patch:
.for file in src/stringAux.cc src/PS_T1_FontManager.cc
@${REINPLACE_CMD} -e "s|malloc.h|stdlib.h|g" ${WRKSRC}/${file}
.endfor
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/x11-wm/wmcp/Makefile b/x11-wm/wmcp/Makefile
index 070e12b47d04..54c301f4b97f 100644
--- a/x11-wm/wmcp/Makefile
+++ b/x11-wm/wmcp/Makefile
@@ -20,4 +20,10 @@ ALL_TARGET= clean wmcp
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/wmcp ${PREFIX}/bin
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 501000
+BROKEN= "Does not compile"
+.endif
+
+.include <bsd.port.post.mk>