summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--archivers/rvm/Makefile8
-rw-r--r--audio/gsi/Makefile8
-rw-r--r--cad/gnucap/Makefile8
-rw-r--r--comms/gsmlib/Makefile8
-rw-r--r--devel/astyle/Makefile8
-rw-r--r--devel/clint/Makefile8
-rw-r--r--devel/commoncpp/Makefile8
-rw-r--r--devel/glrparser/Makefile8
-rw-r--r--devel/korelib/Makefile8
-rw-r--r--devel/xparam/Makefile8
-rw-r--r--editors/hte/Makefile4
-rw-r--r--graphics/agg/Makefile8
-rw-r--r--irc/ezbounce-devel/Makefile8
-rw-r--r--irc/ezbounce/Makefile8
-rw-r--r--irc/irc/Makefile4
-rw-r--r--irc/ircd-ru/Makefile4
-rw-r--r--math/cxsc/Makefile8
-rw-r--r--math/fxt/Makefile9
-rw-r--r--math/gracetmpl/Makefile4
-rw-r--r--net-mgmt/arts++/Makefile3
-rw-r--r--net/cap/Makefile4
-rw-r--r--sysutils/tua/Makefile8
-rw-r--r--textproc/domc/Makefile8
-rw-r--r--textproc/word2x/Makefile8
-rw-r--r--textproc/xmlppm/Makefile8
25 files changed, 157 insertions, 19 deletions
diff --git a/archivers/rvm/Makefile b/archivers/rvm/Makefile
index a2fbf91b715b..d09b2a0b2484 100644
--- a/archivers/rvm/Makefile
+++ b/archivers/rvm/Makefile
@@ -28,4 +28,10 @@ CONFIGURE_ARGS= --with-default-config-file=${PREFIX}/etc/rvm.conf
MAN1= rvm.1
PLIST_FILES= bin/rvm
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile with gcc 3.4.2"
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/audio/gsi/Makefile b/audio/gsi/Makefile
index b3b1baf05103..b03a564aa7f1 100644
--- a/audio/gsi/Makefile
+++ b/audio/gsi/Makefile
@@ -29,6 +29,12 @@ MAN5= gsi.conf.5
MAN7= gsi_overview.7
MAN8= gsi_server.8
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile with gcc 3.4.2"
+.endif
+
post-extract:
@${RM} -f ${WRKSRC}/lib/include/gsi/gsisynth.h
@@ -58,4 +64,4 @@ post-install:
@${ECHO_MSG}
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/cad/gnucap/Makefile b/cad/gnucap/Makefile
index 1d322ae4dc8f..d0b84b3e5363 100644
--- a/cad/gnucap/Makefile
+++ b/cad/gnucap/Makefile
@@ -25,6 +25,12 @@ CFLAGS+= -DUNIX -DNDEBUG -DNEEDS_IS_INF -DNEEDS_IS_NAN -I..
MAN1= gnucap-ibis.1 gnucap.1
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile with gcc 3.4.2"
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|echo|true|g' ${WRKSRC}/src/configure
@@ -54,4 +60,4 @@ do-install:
.endfor
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/comms/gsmlib/Makefile b/comms/gsmlib/Makefile
index f086806a46f7..9c7c60b99f3c 100644
--- a/comms/gsmlib/Makefile
+++ b/comms/gsmlib/Makefile
@@ -39,8 +39,14 @@ CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.endif
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile with gcc 3.4.2"
+.endif
+
post-patch:
@${GREP} -lR "<malloc.h>" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
's|<malloc\.h>|<stdlib.h>|g'
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/devel/astyle/Makefile b/devel/astyle/Makefile
index 5c2027666e22..1181eca084f2 100644
--- a/devel/astyle/Makefile
+++ b/devel/astyle/Makefile
@@ -21,6 +21,12 @@ EXTRACT_AFTER_ARGS= -d ${DISTNAME}
ALL_TARGET= astyle
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile with gcc 3.4.2"
+.endif
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/astyle ${PREFIX}/bin
.if !defined(NOPORTDOCS)
@@ -28,4 +34,4 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/*.html ${DOCSDIR}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/devel/clint/Makefile b/devel/clint/Makefile
index 9288152af72d..527dd29ab112 100644
--- a/devel/clint/Makefile
+++ b/devel/clint/Makefile
@@ -25,10 +25,16 @@ INSTALLS_SHLIB= yes
INFO= clint
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile with gcc 3.4.2"
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
's|-pedantic||g ; \
s|-ldl||g'
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/devel/commoncpp/Makefile b/devel/commoncpp/Makefile
index 9246596f8c8b..d6e8acae0a90 100644
--- a/devel/commoncpp/Makefile
+++ b/devel/commoncpp/Makefile
@@ -26,4 +26,10 @@ INSTALLS_SHLIB= yes
INFO= commoncpp2
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile with gcc 3.4.2"
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/glrparser/Makefile b/devel/glrparser/Makefile
index 143fa80705c0..9a1e51b90d87 100644
--- a/devel/glrparser/Makefile
+++ b/devel/glrparser/Makefile
@@ -16,4 +16,10 @@ COMMENT= A parser works with the GLR(0) algorithm
GNU_CONFIGURE= yes
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile with gcc 3.4.2"
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/korelib/Makefile b/devel/korelib/Makefile
index 5088df3a45f1..4ad89eedae94 100644
--- a/devel/korelib/Makefile
+++ b/devel/korelib/Makefile
@@ -22,9 +22,15 @@ MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
AUTOHEADER="${TRUE}"
INSTALLS_SHLIB= yes
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile with gcc 3.4.2"
+.endif
+
post-patch:
@${FIND} ${WRKSRC} -name "Makefile.am" | ${XARGS} ${REINPLACE_CMD} -e \
's|include kore demo|include kore|g ; \
s|= -g -O2 -Wall|= @CXXFLAGS@|g'
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/devel/xparam/Makefile b/devel/xparam/Makefile
index b1f4f18f6989..fe627ffebca8 100644
--- a/devel/xparam/Makefile
+++ b/devel/xparam/Makefile
@@ -20,4 +20,10 @@ USE_GMAKE= yes
USE_LIBTOOL_VER= 13
INSTALLS_SHLIB= yes
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile with gcc 3.4.2"
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/editors/hte/Makefile b/editors/hte/Makefile
index edd26b8e16c0..63dd791c775f 100644
--- a/editors/hte/Makefile
+++ b/editors/hte/Makefile
@@ -28,6 +28,10 @@ PLIST_FILES= bin/ht
.include <bsd.port.pre.mk>
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile with gcc 3.4.2"
+.endif
+
.if ${OSVERSION} < 400000
LIB_DEPENDS+= ncurses.5:${PORTSDIR}/devel/ncurses
.endif
diff --git a/graphics/agg/Makefile b/graphics/agg/Makefile
index 0772939edbcc..500edbb481e8 100644
--- a/graphics/agg/Makefile
+++ b/graphics/agg/Makefile
@@ -22,6 +22,12 @@ MAKE_ENV= C=${CC}
PLIST_FILES= lib/libagg.a
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile with gcc 3.4.2"
+.endif
+
post-extract:
@${CP} -f ${FILESDIR}/Makefile.in.FreeBSD ${WRKSRC}
@${SED} 's,%%X11BASE%%,${X11BASE},g' < ${FILESDIR}/Makefile.in.FreeBSD > ${WRKSRC}/Makefile.in.FreeBSD
@@ -46,4 +52,4 @@ do-install:
${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/irc/ezbounce-devel/Makefile b/irc/ezbounce-devel/Makefile
index 22ca7ba7ffc2..c03e26be16a6 100644
--- a/irc/ezbounce-devel/Makefile
+++ b/irc/ezbounce-devel/Makefile
@@ -33,6 +33,12 @@ PLIST_SUB+= SSL=""
PLIST_SUB+= SSL="@comment "
.endif
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile with gcc 3.4.2"
+.endif
+
pre-everything::
@${ECHO} ""
@${ECHO} "You may use the following build options:"
@@ -78,4 +84,4 @@ do-install:
.endif
@${SED} -e "s:/usr/local:${PREFIX}:g" ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/irc/ezbounce/Makefile b/irc/ezbounce/Makefile
index 22ca7ba7ffc2..c03e26be16a6 100644
--- a/irc/ezbounce/Makefile
+++ b/irc/ezbounce/Makefile
@@ -33,6 +33,12 @@ PLIST_SUB+= SSL=""
PLIST_SUB+= SSL="@comment "
.endif
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile with gcc 3.4.2"
+.endif
+
pre-everything::
@${ECHO} ""
@${ECHO} "You may use the following build options:"
@@ -78,4 +84,4 @@ do-install:
.endif
@${SED} -e "s:/usr/local:${PREFIX}:g" ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/irc/irc/Makefile b/irc/irc/Makefile
index e59d0afa56a5..7b2bf86fc42d 100644
--- a/irc/irc/Makefile
+++ b/irc/irc/Makefile
@@ -39,6 +39,10 @@ STARTUP_SCRIPT= ${PREFIX}/etc/rc.d/ircd.sh
.include <bsd.port.pre.mk>
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile with gcc 3.4.2"
+.endif
+
.if ${OSVERSION} >= 400014
CONFIGURE_ARGS+= --enable-ip6
.endif
diff --git a/irc/ircd-ru/Makefile b/irc/ircd-ru/Makefile
index 13dd1f54696d..7664076e2ef9 100644
--- a/irc/ircd-ru/Makefile
+++ b/irc/ircd-ru/Makefile
@@ -63,6 +63,10 @@ CONFIGURE_ARGS+=--enable-select
.include <bsd.port.pre.mk>
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile with gcc 3.4.2"
+.endif
+
.if ${ARCH} == "amd64"
BROKEN= "Does not compile on amd64"
.endif
diff --git a/math/cxsc/Makefile b/math/cxsc/Makefile
index e4495d798b75..c672806aca76 100644
--- a/math/cxsc/Makefile
+++ b/math/cxsc/Makefile
@@ -20,4 +20,10 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
USE_GMAKE= yes
MAKE_ENV= INSTALL_DATA="${INSTALL_DATA}"
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile with gcc 3.4.2"
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/math/fxt/Makefile b/math/fxt/Makefile
index 50faf6344523..c6bea66f6a98 100644
--- a/math/fxt/Makefile
+++ b/math/fxt/Makefile
@@ -21,4 +21,11 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
USE_GMAKE= yes
MAKEFILE= makefile
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile with gcc 3.4.2"
+.endif
+
+
+.include <bsd.port.post.mk>
diff --git a/math/gracetmpl/Makefile b/math/gracetmpl/Makefile
index b895beb85a89..b1fb781d2325 100644
--- a/math/gracetmpl/Makefile
+++ b/math/gracetmpl/Makefile
@@ -28,6 +28,10 @@ INSTALL_TARGET= install python_install
.include <bsd.port.pre.mk>
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile with gcc 3.4.2"
+.endif
+
.if ${OSVERSION} < 500041
CFLAGS+= "${CPPFLAGS}"
MAKE_ENV= LDFLAGS="${LDFLAGS}"
diff --git a/net-mgmt/arts++/Makefile b/net-mgmt/arts++/Makefile
index 419f2a16e2f5..e0fa02cd2dbe 100644
--- a/net-mgmt/arts++/Makefile
+++ b/net-mgmt/arts++/Makefile
@@ -29,6 +29,9 @@ MANL= artsportagg.l artsports.l artsprotos.l artsnets.l artsdump.l \
.include <bsd.port.pre.mk>
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile with gcc 3.4.2"
+.endif
post-patch:
cd ${WRKSRC}/classes/src; \
diff --git a/net/cap/Makefile b/net/cap/Makefile
index 4a25efe72aad..10b92cc9b816 100644
--- a/net/cap/Makefile
+++ b/net/cap/Makefile
@@ -60,6 +60,10 @@ READMES= applications/papif applications/lwsrv applications/aufs \
.include <bsd.port.pre.mk>
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile with gcc 3.4.2"
+.endif
+
pre-patch:
@(cd ${WRKSRC}; \
for f in ../cap60.patch* ; do ${PATCH} -s -p < $$f ; done)
diff --git a/sysutils/tua/Makefile b/sysutils/tua/Makefile
index 47ca0a568b4d..cdd45407dc65 100644
--- a/sysutils/tua/Makefile
+++ b/sysutils/tua/Makefile
@@ -16,4 +16,10 @@ COMMENT= The Uucp Analyzer
GNU_CONFIGURE= yes
MAN1= tua.1
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile with gcc 3.4.2"
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/textproc/domc/Makefile b/textproc/domc/Makefile
index b7690e611c8c..21ed9095dd59 100644
--- a/textproc/domc/Makefile
+++ b/textproc/domc/Makefile
@@ -28,8 +28,14 @@ INSTALLS_SHLIB= yes
PLIST_SUB= SHLIB_MAJOR="${SHLIB_MAJOR}"
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile with gcc 3.4.2"
+.endif
+
post-patch:
@${REINPLACE_CMD} -e "s|/usr/local|${PREFIX}|g" \
-e "s|gcc|${CC}|g" ${WRKSRC}/Makefile
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/textproc/word2x/Makefile b/textproc/word2x/Makefile
index 31e80af34c8b..c9055a74b581 100644
--- a/textproc/word2x/Makefile
+++ b/textproc/word2x/Makefile
@@ -22,4 +22,10 @@ GNU_CONFIGURE= yes
MAN1= word2x.1
PLIST_FILES= bin/rtest2 bin/word2x
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile with gcc 3.4.2"
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/textproc/xmlppm/Makefile b/textproc/xmlppm/Makefile
index 029c5089b6d6..f6949b663674 100644
--- a/textproc/xmlppm/Makefile
+++ b/textproc/xmlppm/Makefile
@@ -27,6 +27,12 @@ USE_ICONV= yes
MAKE_ARGS= CC="${CXX}" OPT_FLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -lexpat -liconv"
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile with gcc 3.4.2"
+.endif
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/xmlppm ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/xmlunppm ${PREFIX}/bin
@@ -35,4 +41,4 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/../README ${DOCSDIR}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>