aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--biology/treeviewx/Makefile8
-rw-r--r--converters/uudx/Makefile8
-rw-r--r--devel/tclcl/Makefile8
-rw-r--r--editors/texmacs/Makefile8
-rw-r--r--emulators/uae/Makefile8
-rw-r--r--games/tank/Makefile8
-rw-r--r--games/trophy/Makefile8
-rw-r--r--games/tvp/Makefile8
-rw-r--r--games/vavoom/Makefile8
-rw-r--r--graphics/teddy/Makefile8
-rw-r--r--graphics/truevision/Makefile8
-rw-r--r--graphics/tulip/Makefile4
-rw-r--r--mbone/vic/Makefile8
-rw-r--r--multimedia/vic/Makefile8
-rw-r--r--net/v6eval/Makefile8
-rw-r--r--security/tea-total/Makefile8
-rw-r--r--shells/v7sh/Makefile4
-rw-r--r--www/twhttpd/Makefile8
-rw-r--r--x11-toolkits/wmapp/Makefile8
19 files changed, 127 insertions, 17 deletions
diff --git a/biology/treeviewx/Makefile b/biology/treeviewx/Makefile
index 0decfbda21d8..51b425747643 100644
--- a/biology/treeviewx/Makefile
+++ b/biology/treeviewx/Makefile
@@ -22,4 +22,10 @@ GNU_CONFIGURE= yes
CONFIGURE_ENV= WX_CONFIG="${X11BASE}/bin/wxgtk2-2.4-config"
PLIST_FILES= bin/tv
-.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/converters/uudx/Makefile b/converters/uudx/Makefile
index 837c6ac7d0f6..cbba95aeb33c 100644
--- a/converters/uudx/Makefile
+++ b/converters/uudx/Makefile
@@ -27,8 +27,14 @@ MANLANG= ja
MAN1= uudx.1
PLIST_FILES= bin/uudx
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
pre-patch:
@${ECHO_MSG} "===> Installing custom Makefile for ${DISTNAME}"
@(${CP} ${FILESDIR}/Makefile ${WRKSRC})
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/devel/tclcl/Makefile b/devel/tclcl/Makefile
index 8cc72a4d2848..1e4c171421d9 100644
--- a/devel/tclcl/Makefile
+++ b/devel/tclcl/Makefile
@@ -21,10 +21,16 @@ LIB_DEPENDS= tk84.1:${PORTSDIR}/x11-toolkits/tk84 \
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-tcl-ver=8.4 --with-tk-ver=8.4
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/tcl2c++ ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/otcldoc ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/*.h ${PREFIX}/include
${INSTALL_DATA} ${WRKSRC}/libtclcl.a ${PREFIX}/lib
@${LN} -sf ${PREFIX}/lib/libtclcl.a ${PREFIX}/lib/libTcl.a
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/editors/texmacs/Makefile b/editors/texmacs/Makefile
index f9a9c5b8bd62..fccd3916c093 100644
--- a/editors/texmacs/Makefile
+++ b/editors/texmacs/Makefile
@@ -29,4 +29,10 @@ ALL_TARGET=
MAN1= texmacs.1 fig2ps.1
MANCOMPRESSED= 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/uae/Makefile b/emulators/uae/Makefile
index 7e73e06d85f5..acfe1e67cd8f 100644
--- a/emulators/uae/Makefile
+++ b/emulators/uae/Makefile
@@ -24,6 +24,12 @@ USE_REINPLACE= yes
CFLAGS+= ${PTHREAD_CFLAGS}
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
pre-configure:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' \
${WRKSRC}/configure.in
@@ -49,4 +55,4 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/amiga/uae_rcli ${DATADIR}/amiga/
${INSTALL_DATA} ${WRKSRC}/amiga/uaectrl ${DATADIR}/amiga/
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/games/tank/Makefile b/games/tank/Makefile
index 99549cf5d07b..d3c7ed51b1f6 100644
--- a/games/tank/Makefile
+++ b/games/tank/Makefile
@@ -22,10 +22,16 @@ USE_GMAKE= yes
MAKE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" PTHREAD_LIBS="${PTHREAD_LIBS}"
ALL_TARGET= linux-mesa-elf
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/tank ${PREFIX}/bin
${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/*.tga ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/*.au ${DATADIR}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/games/trophy/Makefile b/games/trophy/Makefile
index 9bc81799af99..b1cc5fd8802e 100644
--- a/games/trophy/Makefile
+++ b/games/trophy/Makefile
@@ -25,6 +25,12 @@ BUILD_WRKSRC= ${WRKSRC}/trophy
MAKE_ENV= PTHREAD_CFLAGS=${PTHREAD_CFLAGS} \
PTHREAD_LIBS=${PTHREAD_LIBS}
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
post-extract:
@${FIND} ${BUILD_WRKSRC}/resources -name .cvsignore -exec ${RM} -f {} \;
@@ -45,4 +51,4 @@ do-install:
${DOCSDIR}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/games/tvp/Makefile b/games/tvp/Makefile
index 6ff4d2b224cc..dd22737dd31a 100644
--- a/games/tvp/Makefile
+++ b/games/tvp/Makefile
@@ -32,6 +32,12 @@ MLINKS= tvp.6 xprez.6 - aprez.6 - prez.6
DOCFILES= aprez.txt libass.txt president.txt prez.txt xprez.txt
+.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/tvp
@@ -44,4 +50,4 @@ post-install:
${PREFIX}/man/man6/tvp.6
${STRIP_CMD} ${PREFIX}/bin/aprez ${PREFIX}/bin/prez ${PREFIX}/bin/xpwish
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/games/vavoom/Makefile b/games/vavoom/Makefile
index 223b70bd0036..529102fde164 100644
--- a/games/vavoom/Makefile
+++ b/games/vavoom/Makefile
@@ -33,6 +33,12 @@ EXTRACT_AFTER_ARGS= -d ${WRKSRC}
MAKE_ARGS= "USE_AL=1"
.endif
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
.ifndef (WITH_OPENAL)
pre-everything::
@${ECHO_CMD} "********************************************************************"
@@ -73,4 +79,4 @@ post-install:
@${SED} -e 's|%%PREFIX%%|${PREFIX}|; s|%%DATADIR%%|${DATADIR}|' \
<${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/graphics/teddy/Makefile b/graphics/teddy/Makefile
index aed94e07f6d2..0416d4a50030 100644
--- a/graphics/teddy/Makefile
+++ b/graphics/teddy/Makefile
@@ -29,6 +29,12 @@ USE_GMAKE= yes
PLIST_FILES= lib/libTeddy.a libdata/pkgconfig/Teddy.pc
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
post-extract:
@${CHMOD} +x ${WRKSRC}/configure
@@ -44,4 +50,4 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/libTeddy.a ${PREFIX}/lib
${INSTALL_DATA} ${WRKSRC}/Teddy.pc ${PREFIX}/libdata/pkgconfig
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/graphics/truevision/Makefile b/graphics/truevision/Makefile
index 34f706360e4c..eb2b5bb4edff 100644
--- a/graphics/truevision/Makefile
+++ b/graphics/truevision/Makefile
@@ -33,6 +33,12 @@ MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
CPPFLAGS= -I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS}
LDFLAGS= -L${LOCALBASE}/lib -L${X11BASE}/lib ${PTHREAD_LIBS}
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
post-extract:
@${FIND} ${WRKSRC} -type l -delete
@${FIND} ${WRKSRC} -name "*.o" -delete
@@ -44,4 +50,4 @@ post-install:
${TAR} -C ${PREFIX}/share/gnome/Truevision --unlink -xf -
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/gnome/Truevision
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/graphics/tulip/Makefile b/graphics/tulip/Makefile
index 3c861d536b5c..8a8be11691f4 100644
--- a/graphics/tulip/Makefile
+++ b/graphics/tulip/Makefile
@@ -39,6 +39,10 @@ LDFLAGS= -Wl,-export-dynamic -L${LOCALBASE}/lib -L${X11BASE}/lib \
.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 (missing -fPIC from shared library objects)"
.endif
diff --git a/mbone/vic/Makefile b/mbone/vic/Makefile
index e48f81d4beeb..a8219c25b40f 100644
--- a/mbone/vic/Makefile
+++ b/mbone/vic/Makefile
@@ -32,6 +32,12 @@ CONFIGURE_ARGS= -x-libraries=${PREFIX}/lib \
-enable-ipv6
MAN1= vic.1
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
pre-patch:
@${FIND} ${WRKSRC} -name "*.[c,h]" | ${XARGS} ${PERL} -pi -e \
's|malloc.h|stdlib.h|'
@@ -40,4 +46,4 @@ post-install:
${STRIP_CMD} ${PREFIX}/bin/vic
${STRIP_CMD} ${PREFIX}/bin/histtolut
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/multimedia/vic/Makefile b/multimedia/vic/Makefile
index e48f81d4beeb..a8219c25b40f 100644
--- a/multimedia/vic/Makefile
+++ b/multimedia/vic/Makefile
@@ -32,6 +32,12 @@ CONFIGURE_ARGS= -x-libraries=${PREFIX}/lib \
-enable-ipv6
MAN1= vic.1
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
pre-patch:
@${FIND} ${WRKSRC} -name "*.[c,h]" | ${XARGS} ${PERL} -pi -e \
's|malloc.h|stdlib.h|'
@@ -40,4 +46,4 @@ post-install:
${STRIP_CMD} ${PREFIX}/bin/vic
${STRIP_CMD} ${PREFIX}/bin/histtolut
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/net/v6eval/Makefile b/net/v6eval/Makefile
index f407dadb382c..91891297b6ec 100644
--- a/net/v6eval/Makefile
+++ b/net/v6eval/Makefile
@@ -18,7 +18,13 @@ RUN_DEPENDS= ${SITE_PERL}/Expect.pm:${PORTSDIR}/lang/p5-Expect
USE_PERL5= yes
USE_OPENSSL= yes
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
post-install:
@${SED} -e 's#@LOCALBASE@#${LOCALBASE}#' ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/security/tea-total/Makefile b/security/tea-total/Makefile
index ceb5690a8d5c..ef56f0f9d67d 100644
--- a/security/tea-total/Makefile
+++ b/security/tea-total/Makefile
@@ -20,4 +20,10 @@ ONLY_FOR_ARCHS= i386
USE_GMAKE= yes
MAN1= teatotal.1 tea.1 untea.1 tea-kgen.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/shells/v7sh/Makefile b/shells/v7sh/Makefile
index 74aa1647a7f9..28abe737b8bf 100644
--- a/shells/v7sh/Makefile
+++ b/shells/v7sh/Makefile
@@ -36,6 +36,10 @@ OPTIONS= V7SH_SYSIII "System III enhancements" on \
.include <bsd.port.pre.mk>
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
.if !defined(WITHOUT_V7SH_SYSIII)
CFLAGS+= -DSYSIII
.endif
diff --git a/www/twhttpd/Makefile b/www/twhttpd/Makefile
index aedb8f8d16b5..a5e73fff10e1 100644
--- a/www/twhttpd/Makefile
+++ b/www/twhttpd/Makefile
@@ -19,6 +19,12 @@ GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_AUTOCONF_VER= 213
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
do-install:
@${INSTALL_PROGRAM} -o root -g wheel -m 0755 ${WRKSRC}/twhttpd ${PREFIX}/sbin/twhttpd
@${INSTALL} -o root -g wheel -m 0755 ${WRKSRC}/rm_cache ${PREFIX}/sbin/rm_cache
@@ -26,4 +32,4 @@ do-install:
post-install:
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/x11-toolkits/wmapp/Makefile b/x11-toolkits/wmapp/Makefile
index defd362d10e7..dc11600120f8 100644
--- a/x11-toolkits/wmapp/Makefile
+++ b/x11-toolkits/wmapp/Makefile
@@ -23,6 +23,12 @@ CFLAGS+= -I${X11BASE}/include
ALL_TARGET= # empty
PLIST_FILES= lib/libwmapp.a
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
post-patch:
@${REINPLACE_CMD} -e "s|export |#export |g" ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e "s|malloc\.h|stdlib.h|g" ${WRKSRC}/xwrapper.h
@@ -44,4 +50,4 @@ do-install:
@${ECHO_CMD} "@dirrm ${DOCSDIR:S,^${PREFIX}/,,}" >> ${TMPPLIST}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>