diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2007-05-27 03:03:31 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2007-05-27 03:03:31 +0000 |
commit | b7ff7031ea6f07582ad920bef0ffd13ac1adcc44 (patch) | |
tree | fa95c4dec9e92efb4ff7df81d579129d7bc11807 | |
parent | bd5f3dd41b37a452c489843e85d75cf94433bbc6 (diff) | |
download | ports-b7ff7031ea6f07582ad920bef0ffd13ac1adcc44.tar.gz ports-b7ff7031ea6f07582ad920bef0ffd13ac1adcc44.zip |
Notes
80 files changed, 502 insertions, 66 deletions
diff --git a/audio/funktrackergold/Makefile b/audio/funktrackergold/Makefile index aaaa36cfdc22..568934409dc9 100644 --- a/audio/funktrackergold/Makefile +++ b/audio/funktrackergold/Makefile @@ -21,6 +21,12 @@ WRKSRC= ${WRKDIR}/funkgold MAKE_ARGS= EXTRA_CFLAGS="${PTHREAD_CFLAGS}" \ EXTRA_LDFLAGS="${PTHREAD_LIBS}" +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 700042 +BROKEN= Broken with gcc 4.2 +.endif + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/funkgold ${PREFIX}/bin .if !defined(NOPORTDOCS) @@ -28,4 +34,4 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/INSTALL ${PREFIX}/share/doc/${PORTNAME}/README .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/audio/gnomoradio/Makefile b/audio/gnomoradio/Makefile index 1f6fa711cc4d..9381ffbdbd6e 100644 --- a/audio/gnomoradio/Makefile +++ b/audio/gnomoradio/Makefile @@ -31,9 +31,15 @@ LIBTOOLFLAGS= --tag=CXX CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 700042 +BROKEN= Broken with gcc 4.2 +.endif + post-patch: @${REINPLACE_CMD} -e 's|CCLD = $$(CC)|CCLD = $$(CXX)|; \ s|-lpthread|${PTHREAD_LIBS}|' \ ${WRKSRC}/roboradio/mp3/Makefile.in -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/audio/gsi/Makefile b/audio/gsi/Makefile index 825a865129d4..5d1281ead975 100644 --- a/audio/gsi/Makefile +++ b/audio/gsi/Makefile @@ -28,6 +28,12 @@ MAN5= gsi.conf.5 MAN7= gsi_overview.7 MAN8= gsi_server.8 +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 700042 +BROKEN= Broken with gcc 4.2 +.endif + post-extract: @${RM} -f ${WRKSRC}/lib/include/gsi/gsisynth.h @@ -57,4 +63,4 @@ post-install: @${ECHO_MSG} @${CAT} ${PKGMESSAGE} -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/audio/holyshout/Makefile b/audio/holyshout/Makefile index 59fa27c008f0..b47390724a99 100644 --- a/audio/holyshout/Makefile +++ b/audio/holyshout/Makefile @@ -19,9 +19,15 @@ LIB_DEPENDS= shout.2:${PORTSDIR}/audio/libshout PLIST_FILES= bin/holyshout USE_GMAKE= yes +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 700042 +BROKEN= Broken with gcc 4.2 +.endif + post-patch: ${REINPLACE_CMD} -e 's,/usr/local,${PREFIX},g' \ ${WRKSRC}/Makefile ${REINPLACE_CMD} -e 's,
,\\r,g' ${WRKSRC}/holyshout.c -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/cad/mars/Makefile b/cad/mars/Makefile index 617abf44a69e..ac08c03a28f9 100644 --- a/cad/mars/Makefile +++ b/cad/mars/Makefile @@ -31,6 +31,10 @@ MAN1= mars.1 .include <bsd.port.pre.mk> +.if ${OSVERSION} >= 700042 +BROKEN= Broken with gcc 4.2 +.endif + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/mars ${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/man/man1/mars.1 ${PREFIX}/man/man1 diff --git a/cad/netgen/Makefile b/cad/netgen/Makefile index 9772e34d199f..b2fe2fc61018 100644 --- a/cad/netgen/Makefile +++ b/cad/netgen/Makefile @@ -38,6 +38,10 @@ DIRTCL= demoapp ngsolve ngtcltk .include <bsd.port.pre.mk> +.if ${OSVERSION} >= 700042 +BROKEN= Broken with gcc 4.2 +.endif + .if ${ARCH} == "sparc64" BROKEN= internal gcc error (Bug 23159) .endif diff --git a/databases/gbib/Makefile b/databases/gbib/Makefile index 2e17fafb6d60..feb965a60cfd 100644 --- a/databases/gbib/Makefile +++ b/databases/gbib/Makefile @@ -31,6 +31,12 @@ MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \ CFLAGS+= -fpermissive +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 700042 +BROKEN= Broken with gcc 4.2 +.endif + post-patch: @${REINPLACE_CMD} -e 's|map.h,|map,|g ; \ s|vector.h,|vector,|g' ${WRKSRC}/configure.in @@ -46,4 +52,4 @@ post-patch: post-install: @${CAT} ${PKGMESSAGE} -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/devel/entity/Makefile b/devel/entity/Makefile index 62eb2a4669ae..01611c4278ae 100644 --- a/devel/entity/Makefile +++ b/devel/entity/Makefile @@ -28,10 +28,16 @@ USE_LDCONFIG= yes MAN1= entity.1 +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 700042 +BROKEN= Broken with gcc 4.2 +.endif + post-install: ${LDCONFIG} -m ${PREFIX}/lib/entity/clib ${PREFIX}/lib ${MKDIR} ${PREFIX}/share/entity cd ${WRKSRC}/apps && ${PAX} -r -w `${LS} | \ ${GREP} -v Makefile` ${PREFIX}/share/entity -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/devel/gcvs/Makefile b/devel/gcvs/Makefile index bf1caf8b3c84..94f4d792bab4 100644 --- a/devel/gcvs/Makefile +++ b/devel/gcvs/Makefile @@ -33,4 +33,10 @@ MAN8= cvsbug.8 INFO= cvs cvsclient USE_AUTOTOOLS= automake:15:env autoconf:259:env -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 700042 +BROKEN= Broken with gcc 4.2 +.endif + +.include <bsd.port.post.mk> diff --git a/devel/gindent/Makefile b/devel/gindent/Makefile index 1a1bdf49714e..f07bbf6fc76e 100644 --- a/devel/gindent/Makefile +++ b/devel/gindent/Makefile @@ -34,6 +34,12 @@ PLIST_SUB+= NLS="@comment " MAN1= gindent.1 INFO= indent +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 700042 +BROKEN= Broken with gcc 4.2 +.endif + post-patch: @${GREP} -lR "malloc\.h" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \ 's|malloc\.h|stdlib.h|g' @@ -44,4 +50,4 @@ post-install: ${INSTALL_DATA} ${WRKSRC}/doc/indent.html ${DOCSDIR} .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/devel/jakelib2/Makefile b/devel/jakelib2/Makefile index a43098dea9e0..8cf2833441bd 100644 --- a/devel/jakelib2/Makefile +++ b/devel/jakelib2/Makefile @@ -27,7 +27,13 @@ CONFIGURE_ARGS= --disable-debug USE_LDCONFIG= yes INFO= jakelib2 +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 700042 +BROKEN= Broken with gcc 4.2 +.endif + post-patch: @${REINPLACE_CMD} -e "s|-lpthread|${PTHREAD_LIBS}|g" ${WRKSRC}/configure -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/devel/kaptain/Makefile b/devel/kaptain/Makefile index 85384ad0c6ad..76022771252f 100644 --- a/devel/kaptain/Makefile +++ b/devel/kaptain/Makefile @@ -27,6 +27,12 @@ CONFIGURE_ARGS= --enable-mt \ MAN1= kaptain.1 INFO= kaptain +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 700042 +BROKEN= Broken with gcc 4.2 +.endif + post-extract: @${RM} -f ${WRKSRC}/doc/*.info* @@ -34,4 +40,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/kyra/Makefile b/devel/kyra/Makefile index f38107358fe4..8dbba3b71a42 100644 --- a/devel/kyra/Makefile +++ b/devel/kyra/Makefile @@ -30,4 +30,10 @@ CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include" \ LDFLAGS="-L${X11BASE}/lib" USE_LDCONFIG= yes -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 700042 +BROKEN= Broken with gcc 4.2 +.endif + +.include <bsd.port.post.mk> diff --git a/devel/libfs++/Makefile b/devel/libfs++/Makefile index 46286deb18d5..a6ff52ed0611 100644 --- a/devel/libfs++/Makefile +++ b/devel/libfs++/Makefile @@ -21,8 +21,14 @@ GNU_CONFIGURE= yes CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} USE_LDCONFIG= yes +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 700042 +BROKEN= Broken with gcc 4.2 +.endif + post-patch: @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \ 's|-Wall -g -O2||g' -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/devel/lincvs/Makefile b/devel/lincvs/Makefile index beb253209c9f..d741dcdefd38 100644 --- a/devel/lincvs/Makefile +++ b/devel/lincvs/Makefile @@ -25,6 +25,12 @@ QTDIR?= ${QT_PREFIX} MAKE_ENV+= QTDIR=${QTDIR} QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++ ALL_TARGET= install +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 700042 +BROKEN= Broken with gcc 4.2 +.endif + post-patch: @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' \ ${WRKSRC}/src/main.cpp \ @@ -45,4 +51,4 @@ do-install: ${CP} -R ${WRKSRC}/LinCVS/Help/* ${DOCSDIR} .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/devel/mprof/Makefile b/devel/mprof/Makefile index 0b65d63e49e5..0334dd91bf24 100644 --- a/devel/mprof/Makefile +++ b/devel/mprof/Makefile @@ -21,9 +21,15 @@ MAKEFILE= Makefile.i386 MAN1= mprof.1 PLIST_FILES= bin/mprof lib/libc_mp.a +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 700042 +BROKEN= Broken with gcc 4.2 +.endif + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/mprof ${PREFIX}/bin ${INSTALL} ${COPY} -m 555 ${WRKSRC}/libc_mp.a ${PREFIX}/lib ${INSTALL_MAN} ${WRKSRC}/mprof.1 ${PREFIX}/man/man1 -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/editors/nvi-devel/Makefile b/editors/nvi-devel/Makefile index e6a1a4b38c2f..83c78868d596 100644 --- a/editors/nvi-devel/Makefile +++ b/editors/nvi-devel/Makefile @@ -27,6 +27,12 @@ CONFIGURE_ARGS+= --with-db3=${LOCALBASE} CONFIGURE_SCRIPT= ../dist/configure MAN1= ex.1 vi.1 view.1 +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 700042 +BROKEN= Broken with gcc 4.2 +.endif + # XXX: nvi doesn't really need sys/select.h, but I don't think the # build should break when it includes it (this happens on RELENG_4; # sys/select.h is effectively empty on -current). @@ -39,4 +45,4 @@ post-install: ${RM} ${PREFIX}/man/cat1/${__p}.0 .endfor -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/french/gfaim/Makefile b/french/gfaim/Makefile index d24a50061b18..c7faa4d98ef9 100644 --- a/french/gfaim/Makefile +++ b/french/gfaim/Makefile @@ -29,4 +29,10 @@ PORTDOCS= legal.txt lisezmoi.txt MAKE_ENV+= NOPORTDOCS=yes .endif -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 700042 +BROKEN= Broken with gcc 4.2 +.endif + +.include <bsd.port.post.mk> diff --git a/games/bsdgames/Makefile b/games/bsdgames/Makefile index 89c6ced4dee6..b42c67c5ca3a 100644 --- a/games/bsdgames/Makefile +++ b/games/bsdgames/Makefile @@ -57,6 +57,12 @@ PATHNAME_FILES= atc/atc.6 \ quiz/quiz.6 \ wump/pathnames.h +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 700042 +BROKEN= Broken with gcc 4.2 +.endif + post-extract: @(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} \ ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} extract) @@ -74,4 +80,4 @@ post-patch: @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' \ "${WRKSRC}/hack/hack.unix.c" -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/games/doomlegacy/Makefile b/games/doomlegacy/Makefile index 2fd1fdce78be..dbbfc859d345 100644 --- a/games/doomlegacy/Makefile +++ b/games/doomlegacy/Makefile @@ -72,6 +72,10 @@ post-install: .include <bsd.port.pre.mk> +.if ${OSVERSION} >= 700042 +BROKEN= Broken with gcc 4.2 +.endif + .if defined(WITH_X86_ASM) && ${ARCH} == "i386" BUILD_DEPENDS+= nasm:${PORTSDIR}/devel/nasm MAKE_ARGS+= USEASM=1 diff --git a/games/exult/Makefile b/games/exult/Makefile index a3c479f4dc74..3c41a2bc0edf 100644 --- a/games/exult/Makefile +++ b/games/exult/Makefile @@ -27,6 +27,12 @@ CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} MAN1= expack.1 ipack.1 shp2pcx.1 splitshp.1 textpack.1 MAN6= exult.6 +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 700042 +BROKEN= Broken with gcc 4.2 +.endif + post-patch: @${REINPLACE_CMD} -e 's|desktop||' ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e 's|/usr/X11R6|${X11BASE}|g' ${WRKSRC}/configure @@ -40,4 +46,4 @@ post-install: .endif @${SED} -e 's|%%DOCSDIR%%|${DOCSDIR}|' <${PKGMESSAGE} -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/games/freebsd-games/Makefile b/games/freebsd-games/Makefile index 89c6ced4dee6..b42c67c5ca3a 100644 --- a/games/freebsd-games/Makefile +++ b/games/freebsd-games/Makefile @@ -57,6 +57,12 @@ PATHNAME_FILES= atc/atc.6 \ quiz/quiz.6 \ wump/pathnames.h +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 700042 +BROKEN= Broken with gcc 4.2 +.endif + post-extract: @(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} \ ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} extract) @@ -74,4 +80,4 @@ post-patch: @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' \ "${WRKSRC}/hack/hack.unix.c" -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/games/glaxium/Makefile b/games/glaxium/Makefile index 868c61ae9038..0a936f6d3bcf 100644 --- a/games/glaxium/Makefile +++ b/games/glaxium/Makefile @@ -27,6 +27,12 @@ ALL_TARGET= ${PORTNAME} MAN6= glaxium.6 +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 700042 +BROKEN= Broken with gcc 4.2 +.endif + post-patch: @${REINPLACE_CMD} -i '' -e 's|/usr/X11R6|${X11BASE}|g; \ s|\$datadir/games/glaxium|\$datadir/glaxium|g' \ @@ -34,4 +40,4 @@ post-patch: @${REINPLACE_CMD} -i '' -e 's|%%X11BASE%%|${X11BASE}|g' \ ${WRKSRC}/Makefile.in -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/games/gnubg/Makefile b/games/gnubg/Makefile index 351f305546dc..1b7bae321de7 100644 --- a/games/gnubg/Makefile +++ b/games/gnubg/Makefile @@ -67,6 +67,16 @@ CONFIGURE_ARGS+= --with-python CONFIGURE_ARGS+= --without-python .endif +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 700042 +BROKEN= Broken with gcc 4.2 +.endif + +.if ${ARCH} == "sparc64" +BROKEN= does not compile on sparc64 +.endif + post-extract: ${GUNZIP_CMD} --stdout ${DISTDIR}/${DIST_SUBDIR}/gnubg.weights-${GNUBG_WEIGHTS_VERSION}.gz > ${WRKSRC}/gnubg.weights ${GUNZIP_CMD} --stdout ${DISTDIR}/${DIST_SUBDIR}/gnubg_os0.bd.gz > ${WRKSRC}/gnubg_os0.bd @@ -77,10 +87,4 @@ post-patch: ${REINPLACE_CMD} -e 's|"getopt\.h"|<getopt.h>|g' ${WRKSRC}/${file} .endfor -.include <bsd.port.pre.mk> - -.if ${ARCH} == "sparc64" -BROKEN= does not compile on sparc64 -.endif - .include <bsd.port.post.mk> diff --git a/games/gturing/Makefile b/games/gturing/Makefile index f34733817de4..a644bf2e1927 100644 --- a/games/gturing/Makefile +++ b/games/gturing/Makefile @@ -31,6 +31,12 @@ EXAMPLES= 3ones2zeroes.tur add.tur bb3.tur dashnumbers.tur addbin.tur \ bb5.tur dec2bin.tur dec2bin_shift.tur bb2.tur bin2dec.tur \ bin2dec_shift.tur sort.tur subst.tur +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 700042 +BROKEN= Broken with gcc 4.2 +.endif + post-patch: @${REINPLACE_CMD} -e 's|-D.*_DISABLE_DEPRECATED||g' \ ${WRKSRC}/configure @@ -47,4 +53,4 @@ post-install: .endfor .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/games/ldmud/Makefile b/games/ldmud/Makefile index 5eb859374742..8a4a1542a58e 100644 --- a/games/ldmud/Makefile +++ b/games/ldmud/Makefile @@ -29,6 +29,12 @@ PLIST_SUB+= LPMUD="@comment " MUDLIB="" PLIST_SUB+= LPMUD="@comment " MUDLIB="@comment " .endif +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 700042 +BROKEN= Broken with gcc 4.2 +.endif + post-install: # Install an RC script for ldmud ${CAT} ${FILESDIR}/ldmud.sh | ${SED} -e "s:%%PREFIX%%:${PREFIX}:" \ @@ -56,4 +62,4 @@ post-install: ${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGDIR}/pkg-install ${PKGNAME} \ POST-INSTALL -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/games/mirrormagic/Makefile b/games/mirrormagic/Makefile index 1cbca697985c..d6be7227240a 100644 --- a/games/mirrormagic/Makefile +++ b/games/mirrormagic/Makefile @@ -27,6 +27,12 @@ USE_XLIB= yes ALL_TARGET= x11 .endif +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 700042 +BROKEN= Broken with gcc 4.2 +.endif + post-patch: @${REINPLACE_CMD} -e 's|sdl-config|$$(SDL_CONFIG)|g' \ ${WRKSRC}/src/Makefile @@ -49,4 +55,4 @@ do-install: .endfor .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/games/nighthawk/Makefile b/games/nighthawk/Makefile index c52a983d361c..b6814cb1f177 100644 --- a/games/nighthawk/Makefile +++ b/games/nighthawk/Makefile @@ -24,6 +24,12 @@ USE_XPM= yes USE_GMAKE= yes MAN6= nighthawk.6 +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 700042 +BROKEN= Broken with gcc 4.2 +.endif + post-patch: ${REINPLACE_CMD} "s/malloc.h/stdlib.h/g" ${WRKSRC}/src/floor.cc \ ${WRKSRC}/src/ship.cc ${WRKSRC}/src_sound/nighthawk_sound.c \ @@ -34,4 +40,4 @@ post-install: ${CHMOD} g+s ${PREFIX}/bin/nighthawk ${SH} pkg-install ${PORTNAME} POST-INSTALL -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/games/nil/Makefile b/games/nil/Makefile index c0ee1b8a132e..bc41954ad404 100644 --- a/games/nil/Makefile +++ b/games/nil/Makefile @@ -27,6 +27,10 @@ OPTIONS= OPTIMIZED_CFLAGS "Enable compilation optimizations" on .include <bsd.port.pre.mk> +.if ${OSVERSION} >= 700042 +BROKEN= Broken with gcc 4.2 +.endif + .if ${ARCH} == "ia64" BROKEN= does not link on ${ARCH} .endif diff --git a/games/openmortal/Makefile b/games/openmortal/Makefile index 36402df8794a..a717e01c5cb5 100644 --- a/games/openmortal/Makefile +++ b/games/openmortal/Makefile @@ -27,4 +27,10 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LIBS="-L${LOCALBASE}/lib" post-patch: -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 700042 +BROKEN= Broken with gcc 4.2 +.endif + +.include <bsd.port.post.mk> diff --git a/graphics/IPA/Makefile b/graphics/IPA/Makefile index 76dd7b2a31f5..58049a01d2cf 100644 --- a/graphics/IPA/Makefile +++ b/graphics/IPA/Makefile @@ -24,8 +24,14 @@ MAN1= iterm.1 MAN3= IPA.3 MANCOMPRESSED= yes +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 700042 +BROKEN= Broken with gcc 4.2 +.endif + do-configure: @(cd ${WRKSRC} ; ${PERL} ./${CONFIGURE_SCRIPT}) @(cd ${WRKSRC} ; ${REINPLACE_CMD} -e 's,-o,-fPIC &, ; s|perl/man|man|' Makefile) -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/graphics/gltt/Makefile b/graphics/gltt/Makefile index ae6e297460d1..47ff3d3b0082 100644 --- a/graphics/gltt/Makefile +++ b/graphics/gltt/Makefile @@ -32,4 +32,10 @@ CONFIGURE_ARGS= --with-ttf-includes=${LOCALBASE}/include/freetype1 \ --with-glut-libraries=${X11BASE}/lib USE_LDCONFIG= yes -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 700042 +BROKEN= Broken with gcc 4.2 +.endif + +.include <bsd.port.post.mk> diff --git a/graphics/gplot/Makefile b/graphics/gplot/Makefile index 5301173bcc36..2f6405962939 100644 --- a/graphics/gplot/Makefile +++ b/graphics/gplot/Makefile @@ -26,6 +26,12 @@ FC= gfortran42 F77= gfortran42 MAKE_ENV+= FC="${FC}" F77="${F77}" +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 700042 +BROKEN= Broken with gcc 4.2 +.endif + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/gplot ${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/gtex ${PREFIX}/bin @@ -39,4 +45,4 @@ do-install: .endfor .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/graphics/libv3d/Makefile b/graphics/libv3d/Makefile index ada1e0dacc91..9bc025c82543 100644 --- a/graphics/libv3d/Makefile +++ b/graphics/libv3d/Makefile @@ -78,6 +78,12 @@ MAN3= V3DGLInterpriteDelete.3 \ v3d_hf_options_struct.3 \ v3d_texture_ref_struct.3 +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 700042 +BROKEN= Broken with gcc 4.2 +.endif + post-patch: @${REINPLACE_CMD} -e "s,make,${GMAKE},g" ${WRKSRC}/Makefile @${REINPLACE_CMD} -e "s,%%CFLAGS%%,${CFLAGS},g" \ @@ -86,4 +92,4 @@ post-patch: -e "s,%%PTHREAD_LIBS%%,${PTHREAD_LIBS},g" \ ${WRKSRC}/libv3d/platforms.ini -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/graphics/nurbs++/Makefile b/graphics/nurbs++/Makefile index 60abbbec5b54..a3d74a674321 100644 --- a/graphics/nurbs++/Makefile +++ b/graphics/nurbs++/Makefile @@ -22,4 +22,10 @@ USE_LDCONFIG= yes MAN1= nurbs++-config.1 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 700042 +BROKEN= Broken with gcc 4.2 +.endif + +.include <bsd.port.post.mk> diff --git a/hebrew/he2/Makefile b/hebrew/he2/Makefile index 4e8126acbea1..cd9e12fddb4c 100644 --- a/hebrew/he2/Makefile +++ b/hebrew/he2/Makefile @@ -20,7 +20,13 @@ RUN_DEPENDS= ${X11BASE}/lib/X11/fonts/hebrew:${PORTSDIR}/hebrew/elmar-fonts USE_GMAKE= yes GNU_CONFIGURE= yes +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 700042 +BROKEN= Broken with gcc 4.2 +.endif + post-install: @${CAT} ${PKGMESSAGE} -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/japanese/Wnn7-lib/Makefile b/japanese/Wnn7-lib/Makefile index 18916ad4b980..a22df8f05bd4 100644 --- a/japanese/Wnn7-lib/Makefile +++ b/japanese/Wnn7-lib/Makefile @@ -22,6 +22,12 @@ DOCDIR= ${PREFIX}/share/doc/ja-Wnn7-lib USE_LDCONFIG= yes +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 700042 +BROKEN= Broken with gcc 4.2 +.endif + post-patch: @${REINPLACE_CMD} -e 's,/usr/X11R6,${X11BASE},g' \ ${WRKSRC}/config/Project.tmpl \ @@ -38,4 +44,4 @@ post-install: @${MKDIR} ${DOCDIR} @${INSTALL_DATA} ${WRKSRC}/README ${DOCDIR} -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/japanese/ebview/Makefile b/japanese/ebview/Makefile index bfc5b7adb956..efb79c7594a1 100644 --- a/japanese/ebview/Makefile +++ b/japanese/ebview/Makefile @@ -31,6 +31,12 @@ MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \ CPPFLAGS= -I${LOCALBASE}/include LDFLAGS= -L${LOCALBASE}/lib +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 700042 +BROKEN= Broken with gcc 4.2 +.endif + pre-build: .for file in src/dictheading.c cd ${WRKSRC} && ${MV} ${file} ${file}.pre_iconv \ @@ -45,4 +51,4 @@ post-install: .endfor .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/japanese/jvim/Makefile b/japanese/jvim/Makefile index 0e992eac7cad..bc141ec2c7a6 100644 --- a/japanese/jvim/Makefile +++ b/japanese/jvim/Makefile @@ -52,6 +52,10 @@ JPLIB+= -ljd -lcrypt .include <bsd.port.pre.mk> +.if ${OSVERSION} >= 700042 +BROKEN= Broken with gcc 4.2 +.endif + # # Make a value of INPUT_METHOD .if defined(INPUT_METHOD) diff --git a/japanese/mimekit/Makefile b/japanese/mimekit/Makefile index 374356b8f9e0..45e2443570c7 100644 --- a/japanese/mimekit/Makefile +++ b/japanese/mimekit/Makefile @@ -19,6 +19,12 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/mimekit PORTDOCS= README README-LIB README-PGP .endif +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 700042 +BROKEN= Broken with gcc 4.2 +.endif + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/deMime ${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/enMime ${PREFIX}/bin @@ -33,4 +39,4 @@ post-install: .endfor .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/japanese/okphone/Makefile b/japanese/okphone/Makefile index f7b181674c04..8f930ff601a4 100644 --- a/japanese/okphone/Makefile +++ b/japanese/okphone/Makefile @@ -19,6 +19,12 @@ COMMENT= Conference-calling phone with Japanese support PATCH_DIST_STRIP= -p1 MAN1= phone.1 +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 700042 +BROKEN= Broken with gcc 4.2 +.endif + post-install: ${INSTALL_MAN} ${WRKSRC}/phone.1 ${PREFIX}/man/man1 .if !defined(NOPORTDOCS) @@ -29,4 +35,4 @@ post-install: .endif @${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/japanese/oleo/Makefile b/japanese/oleo/Makefile index 97dc5a3518d1..99f3e33656c3 100644 --- a/japanese/oleo/Makefile +++ b/japanese/oleo/Makefile @@ -36,6 +36,10 @@ INFO= oleo .include <bsd.port.pre.mk> +.if ${OSVERSION} >= 700042 +BROKEN= Broken with gcc 4.2 +.endif + post-install: .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR}/ja_JP.EUC diff --git a/japanese/onew-freewnn/Makefile b/japanese/onew-freewnn/Makefile index 8b66c77a135e..307238f4064f 100644 --- a/japanese/onew-freewnn/Makefile +++ b/japanese/onew-freewnn/Makefile @@ -59,6 +59,12 @@ ONEW_CONF= ${FILESDIR}/ONEW_CONF-for${INPUT_METHOD} LIB_NAME= libonew${INPUT_METHOD}.a PORT_DOCDIR= ${LOCALBASE}/share/doc/ja-onew${INPUT_METHOD} +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 700042 +BROKEN= Broken with gcc 4.2 +.endif + post-patch: ${SED} -e 's,%LOCALBASE%,${LOCALBASE},g' \ -e 's,%X11BASE%,${X11BASE},g' \ @@ -87,4 +93,4 @@ do-install: @${ECHO} "############################################################" .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/japanese/onew/Makefile b/japanese/onew/Makefile index 8b66c77a135e..307238f4064f 100644 --- a/japanese/onew/Makefile +++ b/japanese/onew/Makefile @@ -59,6 +59,12 @@ ONEW_CONF= ${FILESDIR}/ONEW_CONF-for${INPUT_METHOD} LIB_NAME= libonew${INPUT_METHOD}.a PORT_DOCDIR= ${LOCALBASE}/share/doc/ja-onew${INPUT_METHOD} +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 700042 +BROKEN= Broken with gcc 4.2 +.endif + post-patch: ${SED} -e 's,%LOCALBASE%,${LOCALBASE},g' \ -e 's,%X11BASE%,${X11BASE},g' \ @@ -87,4 +93,4 @@ do-install: @${ECHO} "############################################################" .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/japanese/plain2/Makefile b/japanese/plain2/Makefile index 55d49f1c61e5..7d393f7bc4b8 100644 --- a/japanese/plain2/Makefile +++ b/japanese/plain2/Makefile @@ -25,6 +25,12 @@ BUILD_WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R}p${PORTVERSION:E}.orig/src MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} -DBSD -DKANJI -DPICTURE -DHTML -fwritable-strings" ALL_TARGET= ${PORTNAME} +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 700042 +BROKEN= Broken with gcc 4.2 +.endif + post-patch: @${REINPLACE_CMD} -e \ 's|/usr/lib/plain2|${DATADIR}|g' ${BUILD_WRKSRC}/plain2.h @@ -34,4 +40,4 @@ do-install: @${MKDIR} ${DATADIR} ${INSTALL_DATA} ${WRKSRC}/lib/*.p2 ${DATADIR} -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/japanese/tkstep80/Makefile b/japanese/tkstep80/Makefile index 919a3f5789f2..1d68086bc724 100644 --- a/japanese/tkstep80/Makefile +++ b/japanese/tkstep80/Makefile @@ -43,11 +43,15 @@ TCLVERSION= 8.0 TOPDIR= ${WRKDIR}/${DISTNAME} PORTDOCDIR= ${PREFIX}/share/doc/tkstep${TCLVERSION}jp +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 700042 +BROKEN= Broken with gcc 4.2 +.endif + post-patch: @${REINPLACE_CMD} -e '/xpg4/d' ${WRKSRC}/configure.in -.include <bsd.port.pre.mk> - pre-install: cd ${TOPDIR}/library/demos.jp && ${RM} -f *.orig diff --git a/lang/klone/Makefile b/lang/klone/Makefile index bf3d7bdf6848..6e0575f0e0ad 100644 --- a/lang/klone/Makefile +++ b/lang/klone/Makefile @@ -23,6 +23,10 @@ WRKSRC= ${WRKDIR}/Klone BROKEN= Does not compile on sparc64 .endif +.if ${OSVERSION} >= 700042 +BROKEN= Broken with gcc 4.2 +.endif + do-configure: @${SED} -e 's:%%PREFIX%%:${PREFIX}:' \ -e 's:%%CC%%:${CC}:' \ diff --git a/lang/moscow_ml/Makefile b/lang/moscow_ml/Makefile index 1b35ece5948a..f79ea488b2cc 100644 --- a/lang/moscow_ml/Makefile +++ b/lang/moscow_ml/Makefile @@ -30,6 +30,12 @@ MAKE_ENV+= LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" DOCSDIR="${DOCSDIR}" \ PKGMESSAGE= ${WRKDIR}/pkgmessage +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 700042 +BROKEN= Broken with gcc 4.2 +.endif + post-patch: ${FIND} ${WRKSRC} -name Makefile | ${XARGS} \ ${REINPLACE_CMD} -e "s,-O2,${CFLAGS} -I${LOCALBASE}/include," @@ -63,4 +69,4 @@ post-install: @${FIND} ${EXAMPLESDIR}/ -type f -exec ${CHMOD} ${SHAREMODE} {} \; @${CAT} ${PKGMESSAGE} -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/lang/njs/Makefile b/lang/njs/Makefile index e05e5796d645..83cade30eba0 100644 --- a/lang/njs/Makefile +++ b/lang/njs/Makefile @@ -28,6 +28,12 @@ PKGMESSAGE= ${WRKDIR}/pkg-message MAN1= js.1 jsdas.1 INFO= js +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 700042 +BROKEN= Broken with gcc 4.2 +.endif + post-extract: @${RM} ${WRKSRC}/docs/js.info* @@ -41,4 +47,4 @@ post-install: @${CAT} ${PKGMESSAGE} @${ECHO_MSG} -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/mail/kiltdown/Makefile b/mail/kiltdown/Makefile index 345e2e6be25a..40d9cff3e02c 100644 --- a/mail/kiltdown/Makefile +++ b/mail/kiltdown/Makefile @@ -26,6 +26,12 @@ MY_CONFIGURE_ARGS+= -qtinc ${X11BASE}/include -qtlib ${X11BASE}/lib MY_CONFIGURE_ARGS+= -dbinc ${LOCALBASE}/include/db3 -dblib ${LOCALBASE}/lib BUILD_ENV+= PATH=${PATH}:${X11BASE}/bin +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 700042 +BROKEN= Broken with gcc 4.2 +.endif + post-patch: @${MV} ${WRKSRC}/configs/bsd-generic ${WRKSRC}/configs/bsd-generic.sed ${SED} \ @@ -41,4 +47,4 @@ do-configure: do-install: ${INSTALL_PROGRAM} ${WRKSRC}/kiltdown/kiltdown ${PREFIX}/bin/ -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/math/freefem/Makefile b/math/freefem/Makefile index c4a3b0b834de..a914a15141ef 100644 --- a/math/freefem/Makefile +++ b/math/freefem/Makefile @@ -24,6 +24,12 @@ USE_LDCONFIG= yes MAN1= freefem.1 +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 700042 +BROKEN= Broken with gcc 4.2 +.endif + post-patch: @${REINPLACE_CMD} -e 's|-O3 |\$$CXXFLAGS |g' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|debian doc freefem|debian freefem|g ; \ @@ -39,4 +45,4 @@ post-install: ${INSTALL_DATA} ${WRKSRC}/examples/*.pde ${EXAMPLESDIR} .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/math/fxt/Makefile b/math/fxt/Makefile index 0e08e000c886..2bcd00bb395d 100644 --- a/math/fxt/Makefile +++ b/math/fxt/Makefile @@ -23,6 +23,12 @@ USE_GMAKE= yes MAKEFILE= makefile MAKE_ENV= CXX="${CXX}" +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 700042 +BROKEN= Broken with gcc 4.2 +.endif + post-patch: @${REINPLACE_CMD} -E \ -e 's,^(FXT_CXXFLAGS),#\1,' \ @@ -73,4 +79,4 @@ plist: 's,^${DOCSDIR}(.*),%%PORTDOCS%%@dirrm %%DOCSDIR%%\1,' \ >> pkg-plist -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/math/gambit/Makefile b/math/gambit/Makefile index 3d3fae63a74b..01fb578d205b 100644 --- a/math/gambit/Makefile +++ b/math/gambit/Makefile @@ -30,7 +30,13 @@ LDFLAGS= ${PTHREAD_LIBS} CFLAGS+= -O2 -fno-strict-aliasing .endif +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 700042 +BROKEN= Broken with gcc 4.2 +.endif + post-patch: @${REINPLACE_CMD} -e '/test/s|==|=|g' ${WRKSRC}/configure -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/math/newmat/Makefile b/math/newmat/Makefile index 64881404b402..5db8fef90135 100644 --- a/math/newmat/Makefile +++ b/math/newmat/Makefile @@ -23,6 +23,10 @@ ALL_TARGET= everything .include <bsd.port.pre.mk> +.if ${OSVERSION} >= 700042 +BROKEN= Broken with gcc 4.2 +.endif + do-install: @${MKDIR} ${PREFIX}/include/${PORTNAME} ${INSTALL_DATA} ${WRKSRC}/*.h ${PREFIX}/include/${PORTNAME} diff --git a/math/oleo/Makefile b/math/oleo/Makefile index f349da34beff..ae46d4c22238 100644 --- a/math/oleo/Makefile +++ b/math/oleo/Makefile @@ -30,6 +30,10 @@ OPTIONS= MOTIF "Motif support" off \ .include <bsd.port.pre.mk> +.if ${OSVERSION} >= 700042 +BROKEN= Broken with gcc 4.2 +.endif + .if defined(WITH_MOTIF) LIB_DEPENDS+= plot:${PORTSDIR}/graphics/plotutils \ Xbae:${PORTSDIR}/x11-toolkits/xbae \ diff --git a/multimedia/fxtv/Makefile b/multimedia/fxtv/Makefile index 5a0cbcead5c9..6c4870f45911 100644 --- a/multimedia/fxtv/Makefile +++ b/multimedia/fxtv/Makefile @@ -31,6 +31,10 @@ OPTIONS= EXTRA "Extra programs required to record/playback/save" off .include <bsd.port.pre.mk> +.if ${OSVERSION} >= 700042 +BROKEN= Broken with gcc 4.2 +.endif + # This program does not actually require the programs below unless you # use audio/video recording and/or playback and save to a non-raw format. .if defined(WITH_EXTRA) diff --git a/multimedia/libmovtar/Makefile b/multimedia/libmovtar/Makefile index 53a4e656a021..c5893d189258 100644 --- a/multimedia/libmovtar/Makefile +++ b/multimedia/libmovtar/Makefile @@ -26,6 +26,10 @@ MAKE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \ .include <bsd.port.pre.mk> +.if ${OSVERSION} >= 700042 +BROKEN= Broken with gcc 4.2 +.endif + LIB_DEPENDS+= jpeg.9:${PORTSDIR}/graphics/jpeg post-patch: diff --git a/net-im/icmpchat/Makefile b/net-im/icmpchat/Makefile index f582ca901961..4ba770d27e6c 100644 --- a/net-im/icmpchat/Makefile +++ b/net-im/icmpchat/Makefile @@ -14,6 +14,12 @@ MASTER_SITE_SUBDIR= icmpchat MAINTAINER= ports@FreeBSD.org COMMENT= Simple console-based chat that uses the ICMP protocol +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 700042 +BROKEN= Broken with gcc 4.2 +.endif + pre-patch: @${REINPLACE_CMD} -e 's|-O2 -Wall -pedantic|${CFLAGS}|;\ s|= gcc|?= gcc|;s|default|all|' ${WRKSRC}/Makefile @@ -29,4 +35,4 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/Todo ${DOCSDIR} .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/net-im/jit/Makefile b/net-im/jit/Makefile index 21a5930fb27e..56d0e2e490e9 100644 --- a/net-im/jit/Makefile +++ b/net-im/jit/Makefile @@ -22,6 +22,12 @@ CFLAGS+= -fPIC MAKE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \ PTHREAD_LIBS="${PTHREAD_LIBS}" +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 700042 +BROKEN= Broken with gcc 4.2 +.endif + post-patch: @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \ ${WRKSRC}/jit/jabber-icq.example @@ -36,4 +42,4 @@ do-install: post-install: @PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/net-im/linpopup/Makefile b/net-im/linpopup/Makefile index 30d7e2be84b9..00d942249234 100644 --- a/net-im/linpopup/Makefile +++ b/net-im/linpopup/Makefile @@ -28,10 +28,16 @@ USE_X_PREFIX= yes EXTRA_PATCHES+= ${FILESDIR}/extra-patch-samba3 .endif +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 700042 +BROKEN= Broken with gcc 4.2 +.endif + post-patch: ${REINPLACE_CMD} -e "s#/doc/#/share/doc/#" ${WRKSRC}/Makefile post-install: @${CAT} ${PKGMESSAGE} -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/net-mgmt/nagios-snmp-plugins/Makefile b/net-mgmt/nagios-snmp-plugins/Makefile index 2c0e3e35b982..17d868798289 100644 --- a/net-mgmt/nagios-snmp-plugins/Makefile +++ b/net-mgmt/nagios-snmp-plugins/Makefile @@ -36,6 +36,12 @@ CONFIGURE_ENV= LOCALBASE=${LOCALBASE} # Workaround configure.in lameness. CONFIGURE_ENV+= CPPFLAGS="`net-snmp-config --cflags`" +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 700042 +BROKEN= Broken with gcc 4.2 +.endif + pre-configure: @(cd ${CONFIGURE_WRKSRC} && ${SETENV} ${AUTOMAKE_ENV} ${ACLOCAL} \ --acdir=${ACLOCAL_DIR}) @@ -54,4 +60,4 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/net-p2p/lopster/Makefile b/net-p2p/lopster/Makefile index 6be8ef718f3f..d555642f9745 100644 --- a/net-p2p/lopster/Makefile +++ b/net-p2p/lopster/Makefile @@ -25,6 +25,10 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib" .include <bsd.port.pre.mk> +.if ${OSVERSION} >= 700042 +BROKEN= Broken with gcc 4.2 +.endif + .if exists(${LOCALBASE}/lib/libogg.so.4) WITH_OGG= yes .endif diff --git a/net/gnu-radius/Makefile b/net/gnu-radius/Makefile index d51419797944..6a42199d9082 100644 --- a/net/gnu-radius/Makefile +++ b/net/gnu-radius/Makefile @@ -56,6 +56,10 @@ EXAMPLE_FILES= README ascend.rw c3620.rw cisco.rw comos.rw config.syntax \ .include <bsd.port.pre.mk> +.if ${OSVERSION} >= 700042 +BROKEN= Broken with gcc 4.2 +.endif + .if defined(WITH_SNMP) CONFIGURE_ARGS+= --enable-snmp .endif diff --git a/net/jags/Makefile b/net/jags/Makefile index c1aeaa93a65f..5e827a013e8e 100644 --- a/net/jags/Makefile +++ b/net/jags/Makefile @@ -23,10 +23,16 @@ USE_GNOME= gtk12 USE_PERL5_BUILD=yes GNU_CONFIGURE= yes +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 700042 +BROKEN= Broken with gcc 4.2 +.endif + pre-patch: @${PERL} -pi.fbsd -e 's@/usr/local/share/jags/@${PREFIX}/share/jags/@g' \ ${WRKSRC}/src/jagsconfig.cpp @${PERL} -pi.fbsd -e 's@/usr/local/share/jags/pixmaps/@${PREFIX}/share/jags/pixmaps/@g' \ ${WRKSRC}/src/gtk_common.cpp -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/net/lam/Makefile b/net/lam/Makefile index 3bc55d9c6da1..dc36ca822de1 100644 --- a/net/lam/Makefile +++ b/net/lam/Makefile @@ -373,6 +373,10 @@ MAN7= LAM.7 \ .include <bsd.port.pre.mk> +.if ${OSVERSION} >= 700042 +BROKEN= Broken with gcc 4.2 +.endif + .if ${PERL_LEVEL} < 500800 BUILD_DEPENDS+= ${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp RUN_DEPENDS+= ${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp diff --git a/news/grn/Makefile b/news/grn/Makefile index 17fcdadf9752..0274fdabc5f9 100644 --- a/news/grn/Makefile +++ b/news/grn/Makefile @@ -26,8 +26,14 @@ CONFIGURE_ENV= glibpath="${GLIB_CONFIG}" \ CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 700042 +BROKEN= Broken with gcc 4.2 +.endif + post-patch: @${REINPLACE_CMD} -e 's|$${CONFIG_SHELL-/bin/sh} $$ac_aux_dir|$$ac_aux_dir|' \ ${WRKSRC}/configure ${WRKSRC}/libmutt/configure -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/news/nget/Makefile b/news/nget/Makefile index 2f8c33bb3401..b828a74d235c 100644 --- a/news/nget/Makefile +++ b/news/nget/Makefile @@ -24,6 +24,10 @@ USE_GETOPT_LONG= yes .include <bsd.port.pre.mk> +.if ${OSVERSION} >= 700042 +BROKEN= Broken with gcc 4.2 +.endif + post-extract: ${LN} -s nget-${PORTVERSION} ${WRKDIR}/${DISTNAME} diff --git a/print/ifhp/Makefile b/print/ifhp/Makefile index 5143ca7e0d2d..88f60287da04 100644 --- a/print/ifhp/Makefile +++ b/print/ifhp/Makefile @@ -53,6 +53,10 @@ PLIST_SUB+= NLS="@comment " .include <bsd.port.pre.mk> +.if ${OSVERSION} >= 700042 +BROKEN= Broken with gcc 4.2 +.endif + .if defined(WITHOUT_FOOMATIC) CONFIGURE_ARGS+= --disable-foomatic .else diff --git a/science/euler/Makefile b/science/euler/Makefile index 68dbbf54d978..40e2cf4f1d64 100644 --- a/science/euler/Makefile +++ b/science/euler/Makefile @@ -20,6 +20,12 @@ COMMENT= A program computes with real and complex numbers and matrices USE_GNOME= gnometarget gtk20 GNU_CONFIGURE= yes +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 700042 +BROKEN= Broken with gcc 4.2 +.endif + post-patch: @${REINPLACE_CMD} -e '/^SUBDIRS/s|docs||g ; \ /^install-data-am/s|install-eulerdocDATA||g' ${WRKSRC}/Makefile.in @@ -36,4 +42,4 @@ post-install: @${FIND} ${DOCSDIR} -type d | ${XARGS} ${CHMOD} ${BINMODE} .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/science/oof/Makefile b/science/oof/Makefile index be5925e84a3f..1f240e8f818d 100644 --- a/science/oof/Makefile +++ b/science/oof/Makefile @@ -54,6 +54,10 @@ PLIST_FILES+= bin/oof2abaqus .include <bsd.port.pre.mk> +.if ${OSVERSION} >= 700042 +BROKEN= Broken with gcc 4.2 +.endif + .if ${ARCH}==sparc64 BROKEN= does not compile on ${ARCH} .endif diff --git a/security/fressh/Makefile b/security/fressh/Makefile index 9ffefebe9de2..585463cfc8aa 100644 --- a/security/fressh/Makefile +++ b/security/fressh/Makefile @@ -19,6 +19,10 @@ USE_BZIP2= yes .include <bsd.port.pre.mk> +.if ${OSVERSION} >= 700042 +BROKEN= Broken with gcc 4.2 +.endif + .if !exists(/usr/lib/libssl.a) || !exists(/usr/lib/libcrypto.a) .if exists(${LOCALBASE}/lib/libssl.a) && exists(${LOCALBASE}/lib/libcrypto.a) LIB_DEPENDS+= ssl.3:${PORTSDIR}/security/openssl diff --git a/sysutils/hammerhead/Makefile b/sysutils/hammerhead/Makefile index 09dda900e975..2ae82b2f4489 100644 --- a/sysutils/hammerhead/Makefile +++ b/sysutils/hammerhead/Makefile @@ -18,10 +18,16 @@ COMMENT= A webserver stressing tool GNU_CONFIGURE= yes USE_GMAKE= yes +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 700042 +BROKEN= Broken with gcc 4.2 +.endif + post-patch: @${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},' \ ${WRKSRC}/src/Makefile MAN1= hammerhead.1 -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/sysutils/makefs/Makefile b/sysutils/makefs/Makefile index 97ab41ce27be..398bc5d39ba2 100644 --- a/sysutils/makefs/Makefile +++ b/sysutils/makefs/Makefile @@ -16,6 +16,12 @@ COMMENT= Builds FFS images MAN8= makefs.8 PLIST_FILES= sbin/makefs +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 700042 +BROKEN= Broken with gcc 4.2 +.endif + do-build: cd ${WRKSRC} && ${SH} -xe build.sh @@ -27,4 +33,4 @@ do-install: ${PREFIX}/man/man8/ .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/www/middleman/Makefile b/www/middleman/Makefile index 83de29a9316b..77f93b9e18b7 100644 --- a/www/middleman/Makefile +++ b/www/middleman/Makefile @@ -42,6 +42,10 @@ PLIST_SUB+= MMAN_CACHE=${MMAN_CACHE} .include <bsd.port.pre.mk> +.if ${OSVERSION} >= 700042 +BROKEN= Broken with gcc 4.2 +.endif + post-patch: @${REINPLACE_CMD} -e \ 's|/usr/bin/mman|${PREFIX}/bin/mman|g ; \ diff --git a/x11-fm/ezfm/Makefile b/x11-fm/ezfm/Makefile index 0d6276960970..e0b052aada16 100644 --- a/x11-fm/ezfm/Makefile +++ b/x11-fm/ezfm/Makefile @@ -25,6 +25,12 @@ USE_GMAKE= yes MAN1= ezfm.1 +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 700042 +BROKEN= Broken with gcc 4.2 +.endif + do-install: @ ${INSTALL_PROGRAM} ${WRKSRC}/ezfm ${PREFIX}/bin @ ${MKDIR} ${PREFIX}/share/ezfm @@ -41,4 +47,4 @@ post-install: @${INSTALL_DATA} ${WRKSRC}/COPYING ${DOCSDIR} .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/x11-fm/gnome-commander/Makefile b/x11-fm/gnome-commander/Makefile index 45df6468be42..2271cc19423f 100644 --- a/x11-fm/gnome-commander/Makefile +++ b/x11-fm/gnome-commander/Makefile @@ -31,6 +31,12 @@ GNU_CONFIGURE= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \ LIBS="-L${LOCALBASE}/lib -L${X11BASE}/lib -lintl" +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 700042 +BROKEN= Broken with gcc 4.2 +.endif + pre-everything:: .if !defined(WITH_FAM) @${ECHO} "" @@ -39,4 +45,4 @@ pre-everything:: @${ECHO} "" .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/x11-toolkits/easygtk/Makefile b/x11-toolkits/easygtk/Makefile index 12402b47b600..2f81b982b9c9 100644 --- a/x11-toolkits/easygtk/Makefile +++ b/x11-toolkits/easygtk/Makefile @@ -27,4 +27,10 @@ USE_LDCONFIG= yes MAKE_ENV= MKDIR="${MKDIR}" \ LN="${LN}" -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 700042 +BROKEN= Broken with gcc 4.2 +.endif + +.include <bsd.port.post.mk> diff --git a/x11-wm/epiwm/Makefile b/x11-wm/epiwm/Makefile index edccfc39f832..687f3447290b 100644 --- a/x11-wm/epiwm/Makefile +++ b/x11-wm/epiwm/Makefile @@ -26,6 +26,12 @@ DOCS= AUTHORS BUGS COPYING ChangeLog EPIwm-0.5.6.lsm INSTALL NEWS \ GNU_CONFIGURE= yes USE_X_PREFIX= yes +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 700042 +BROKEN= Broken with gcc 4.2 +.endif + post-patch: ${REINPLACE_CMD} 's|/etc/X11/epiwm|${PREFIX}/etc/epiwm|' \ ${WRKSRC}/configure @@ -38,4 +44,4 @@ post-install: .endfor .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/x11-wm/fluxspace/Makefile b/x11-wm/fluxspace/Makefile index a5dab4b52705..a5d6fee9796a 100644 --- a/x11-wm/fluxspace/Makefile +++ b/x11-wm/fluxspace/Makefile @@ -28,6 +28,10 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ .include <bsd.port.pre.mk> +.if ${OSVERSION} >= 700042 +BROKEN= Broken with gcc 4.2 +.endif + .if defined(WITH_IDESK) || exists(${X11BASE}/bin/idesk) RUN_DEPENDS+= idesk:${PORTSDIR}/x11/idesk .endif diff --git a/x11-wm/jewel/Makefile b/x11-wm/jewel/Makefile index 26dacbd6f286..869410f003e9 100644 --- a/x11-wm/jewel/Makefile +++ b/x11-wm/jewel/Makefile @@ -23,6 +23,12 @@ PLIST= ${WRKDIR}/pkg-plist USE_X_PREFIX= yes USE_GMAKE= yes +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 700042 +BROKEN= Broken with gcc 4.2 +.endif + post-patch: @${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.orig @${SED} -e "s,^CC,#CC,g ; s,^CFLAGS,#CFLAGS,g ; \ @@ -50,4 +56,4 @@ do-install: .endfor .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> |