summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2007-07-03 09:32:56 +0000
committerPav Lucistnik <pav@FreeBSD.org>2007-07-03 09:32:56 +0000
commit737b8faa1b1715dc5c445a0fdb85a6c971d00b0d (patch)
tree99297df7eeb0079dcdf2ace5c6a43e71fbed3390
parentFix gcc 4.2 build. (diff)
- Mark BROKEN on CURRENT: does not build with GCC 4.2
Notes
Notes: svn path=/head/; revision=194768
-rw-r--r--audio/rat30/Makefile4
-rw-r--r--audio/timidity++/Makefile.interface4
-rw-r--r--cad/varkon/Makefile8
-rw-r--r--chinese/chinput3/Makefile4
-rw-r--r--chinese/cxterm/Makefile4
-rw-r--r--emulators/twin/Makefile4
-rw-r--r--graphics/pixie/Makefile8
-rw-r--r--japanese/lyx/Makefile8
-rw-r--r--java/openjit/Makefile4
-rw-r--r--mbone/rat30/Makefile4
-rw-r--r--multimedia/mplayerxp/Makefile4
-rw-r--r--multimedia/xmms-avi/Makefile4
-rw-r--r--multimedia/xmps/Makefile4
-rw-r--r--net-mgmt/scotty3/Makefile8
-rw-r--r--print/xmbibtex/Makefile8
-rw-r--r--security/stegdetect/Makefile8
-rw-r--r--x11-toolkits/py-fltk/Makefile8
17 files changed, 89 insertions, 7 deletions
diff --git a/audio/rat30/Makefile b/audio/rat30/Makefile
index ffc96d611e3f..945fce6126e6 100644
--- a/audio/rat30/Makefile
+++ b/audio/rat30/Makefile
@@ -27,6 +27,10 @@ LATEST_LINK= rat30
.include <bsd.port.pre.mk>
+.if ${OSVERSION} >= 700042
+BROKEN= Does not compile with GCC 4.2
+.endif
+
do-build:
(cd ${WRKSRC};${SETENV} ${MAKE_ENV} MAKE=${GMAKE} ${SH} ./Build rat)
diff --git a/audio/timidity++/Makefile.interface b/audio/timidity++/Makefile.interface
index 32b7458f28ff..2044e09d4475 100644
--- a/audio/timidity++/Makefile.interface
+++ b/audio/timidity++/Makefile.interface
@@ -102,6 +102,10 @@ USE_XLIB= yes
DOCFILES= README.xaw
DOCLANG= C ja_JP.eucJP
+
+.if ${OSVERSION} >= 700042
+BROKEN= Does not compile with GCC 4.2
+.endif
.endif
.if ${INTERFACE} == "xskin"
diff --git a/cad/varkon/Makefile b/cad/varkon/Makefile
index 72e8f3f70724..df54601bea7a 100644
--- a/cad/varkon/Makefile
+++ b/cad/varkon/Makefile
@@ -32,6 +32,12 @@ MAKE_ENV+= VARKON_ROOT=${VARKON_ROOT}
VARKON_PREFIX= ${PREFIX}/share/varkon
WEB_BROWSER?= mozilla
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 700042
+BROKEN= Does not compile with GCC 4.2
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's+%%MAKE%%+${GMAKE}+g;' ${WRKSRC}/make_varkon
@${REINPLACE_CMD} -e 's+netscape+${WEB_BROWSER}+ ' \
@@ -71,4 +77,4 @@ do-install:
-d ${DOCSDIR}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/chinese/chinput3/Makefile b/chinese/chinput3/Makefile
index 0309736f92de..3077a64d1331 100644
--- a/chinese/chinput3/Makefile
+++ b/chinese/chinput3/Makefile
@@ -30,6 +30,10 @@ SUB_FILES= pkg-message
BROKEN= Does not compile on !i386
.endif
+.if ${OSVERSION} >= 700042
+BROKEN= Does not compile with GCC 4.2
+.endif
+
post-patch:
@${REINPLACE_CMD} -e '/extern int ForwardEvent();/d' \
${WRKSRC}/src/Chinput-*/src/*.c
diff --git a/chinese/cxterm/Makefile b/chinese/cxterm/Makefile
index b9205f79485e..4240afab04db 100644
--- a/chinese/cxterm/Makefile
+++ b/chinese/cxterm/Makefile
@@ -40,6 +40,10 @@ ALL_TARGET= xrelease Makefiles includes all
BROKEN= "Coredump during build on ia64"
.endif
+.if ${OSVERSION} >= 700042
+BROKEN= Does not compile on GCC 4.2
+.endif
+
post-install:
${INSTALL_SCRIPT} ${WRKDIR}/CXterm.sh ${PREFIX}/bin/CXterm
# standard X11 place
diff --git a/emulators/twin/Makefile b/emulators/twin/Makefile
index 786a2655e50b..326cd1197ad6 100644
--- a/emulators/twin/Makefile
+++ b/emulators/twin/Makefile
@@ -37,6 +37,10 @@ USE_LDCONFIG= yes
CONFIGURE_ARGS+= --disable-intp
.endif
+.if ${OSVERSION} >= 700042
+BROKEN= Does not compile with GCC 4.2
+.endif
+
LIBRARIES= libadvapi32.so libcomctl32.so libcomm.so \
libcommdlg.so libddeml.so libkeyboard.so \
liblzexpand.so libmmsystem.so libmsvcrt.so \
diff --git a/graphics/pixie/Makefile b/graphics/pixie/Makefile
index c694de655491..a3d5abf2055b 100644
--- a/graphics/pixie/Makefile
+++ b/graphics/pixie/Makefile
@@ -38,6 +38,12 @@ PIXIE_SHLIBS= file framebuffer rgbe
SUB_LIST+= PORTNAME=${PORTNAME}
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 700042
+BROKEN= Does not compile with GCC 4.2
+.endif
+
post-patch:
@${FIND} -X ${WRKSRC} -name '*.cpp' -or -name '*.h' | \
${XARGS} ${REINPLACE_CMD} -i '' -e 's|malloc\.h|stdlib\.h|g'
@@ -95,4 +101,4 @@ do-install:
.endfor
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/japanese/lyx/Makefile b/japanese/lyx/Makefile
index e6917d60e40b..2195d6e28e56 100644
--- a/japanese/lyx/Makefile
+++ b/japanese/lyx/Makefile
@@ -28,6 +28,12 @@ STRIP=
CONFIGURE_ARGS= --with-extra-lib=${X11BASE}/lib --with-extra-inc="${X11BASE}/include ${X11BASE}/include/X11"
MAN1= lyx.1 reLyX.1
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 700042
+BROKEN= Does not compile with GCC 4.2
+.endif
+
pre-fetch:
.if !defined(WITH_ISPELL)
@${ECHO_MSG} "if you want this port build with spell checker type"
@@ -43,4 +49,4 @@ post-install:
${INSTALL_DATA} ${WRKDIR}/README.jis ${PREFIX}/share/lyx
${INSTALL_DATA} ${WRKSRC}/lib/lyxrc.jp ${PREFIX}/share/lyx
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/java/openjit/Makefile b/java/openjit/Makefile
index f81f2ab097e6..7e70453d306d 100644
--- a/java/openjit/Makefile
+++ b/java/openjit/Makefile
@@ -32,6 +32,10 @@ PLIST_SUB+= JAVADIR=${JAVA_HOME:S,${PREFIX}/,,}
.include <bsd.port.pre.mk>
+.if ${OSVERSION} >= 700042
+BROKEN= Does not compile with GCC 4.2
+.endif
+
.if ${JAVA_PORT_VERSION} == 1.1
JDKLIBDIR= ${PREFIX}/lib/OpenJIT
PLIST_SUB+= JAVA2:="@comment " JAVA11:=""
diff --git a/mbone/rat30/Makefile b/mbone/rat30/Makefile
index ffc96d611e3f..945fce6126e6 100644
--- a/mbone/rat30/Makefile
+++ b/mbone/rat30/Makefile
@@ -27,6 +27,10 @@ LATEST_LINK= rat30
.include <bsd.port.pre.mk>
+.if ${OSVERSION} >= 700042
+BROKEN= Does not compile with GCC 4.2
+.endif
+
do-build:
(cd ${WRKSRC};${SETENV} ${MAKE_ENV} MAKE=${GMAKE} ${SH} ./Build rat)
diff --git a/multimedia/mplayerxp/Makefile b/multimedia/mplayerxp/Makefile
index e2e4e332fc83..f41ec5432af7 100644
--- a/multimedia/mplayerxp/Makefile
+++ b/multimedia/mplayerxp/Makefile
@@ -39,6 +39,10 @@ WIN32_CODEC_PREFIX= ${LOCALBASE}/lib/win32
.include <bsd.port.pre.mk>
+.if ${OSVERSION} >= 700042
+BROKEN= Does not compile with GCC 4.2
+.endif
+
# add this after <bsd.port.pre.mk> so that we inherit /etc/make.conf
CONFIGURE_ARGS+= --with-extralibdir=${LOCALBASE}/lib \
--with-extraincdir=${LOCALBASE}/include \
diff --git a/multimedia/xmms-avi/Makefile b/multimedia/xmms-avi/Makefile
index 777d9568852b..e39bc988a690 100644
--- a/multimedia/xmms-avi/Makefile
+++ b/multimedia/xmms-avi/Makefile
@@ -31,6 +31,10 @@ CONFIGURE_ARGS= --with-win32-path=${LOCALBASE}/lib/win32
.include <bsd.port.pre.mk>
+.if ${OSVERSION} >= 700042
+BROKEN= Does not compile with GCC 4.2
+.endif
+
post-patch:
@${REINPLACE_CMD} \
-e "s|-lc_r|${PTHREAD_LIBS}|g" \
diff --git a/multimedia/xmps/Makefile b/multimedia/xmps/Makefile
index cf776e65cc22..564df6b7a9d7 100644
--- a/multimedia/xmps/Makefile
+++ b/multimedia/xmps/Makefile
@@ -28,6 +28,10 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
BROKEN= "Does not compile on !i386"
.endif
+.if ${OSVERSION} >= 700042
+BROKEN= Does not compile with GCC 4.2
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|$${CONFIG_SHELL-/bin/sh} $$ac_aux_dir|$$ac_aux_dir|' \
diff --git a/net-mgmt/scotty3/Makefile b/net-mgmt/scotty3/Makefile
index f0ff6ae5e707..d748a5e7162c 100644
--- a/net-mgmt/scotty3/Makefile
+++ b/net-mgmt/scotty3/Makefile
@@ -56,6 +56,12 @@ PLIST_SUB+= X11='@comment '
LATEST_LINK= scotty3
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 700042
+BROKEN= Does not compile with GCC 4.2
+.endif
+
post-patch:
${MV} ${WRKSRC}/scotty.c ${WRKSRC}/scotty.c.orig
${CP} -p ${FILESDIR}/scotty.c ${WRKSRC}/scotty.c
@@ -67,4 +73,4 @@ post-install:
${LN} -s tkined1.5.0 ${PREFIX}/bin/tkined
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/print/xmbibtex/Makefile b/print/xmbibtex/Makefile
index 76f9fada1de0..625aab394bd5 100644
--- a/print/xmbibtex/Makefile
+++ b/print/xmbibtex/Makefile
@@ -23,4 +23,10 @@ NO_INSTALL_MANPAGES= yes
PLIST_FILES= bin/xmbibtex lib/X11/app-defaults/XmBibTeX
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 700042
+BROKEN= Does not compile with GCC 4.2
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/security/stegdetect/Makefile b/security/stegdetect/Makefile
index e4ad834647ed..75ab0c01b42b 100644
--- a/security/stegdetect/Makefile
+++ b/security/stegdetect/Makefile
@@ -33,6 +33,12 @@ CONFIGURE_ENV+= PATH_GTKCONFIG="${GTK_CONFIG}"
PLIST_SUB+= X11=""
.endif
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 700042
+BROKEN= Does not compile with GCC 4.2
+.endif
+
post-patch:
${REINPLACE_CMD} 's;/usr/include/event;${LOCALBASE}/include;g' \
${WRKSRC}/configure
@@ -40,4 +46,4 @@ post-patch:
${REINPLACE_CMD} 's/gtk-config//g' ${WRKSRC}/configure
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/x11-toolkits/py-fltk/Makefile b/x11-toolkits/py-fltk/Makefile
index 4ee28433ef7e..1a0aeab65292 100644
--- a/x11-toolkits/py-fltk/Makefile
+++ b/x11-toolkits/py-fltk/Makefile
@@ -28,6 +28,12 @@ DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
XTRADOCS= CHANGES README TODO
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 700042
+BROKEN= Does not compile on GCC 4.2
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|/usr/X11R6|${X11BASE}|g' ${WRKSRC}/setup.py
@@ -47,4 +53,4 @@ do-install:
.endfor
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>