aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2007-05-26 07:05:08 +0800
committerkris <kris@FreeBSD.org>2007-05-26 07:05:08 +0800
commit8ed97b2031890a10d78aab0619acb6c3f7206050 (patch)
tree89466415f4600f9199faff308616dd333a7f62ae /misc
parenta2d952716572138d42dfe225d1aeffe58a7dd1fb (diff)
downloadfreebsd-ports-gnome-8ed97b2031890a10d78aab0619acb6c3f7206050.tar.gz
freebsd-ports-gnome-8ed97b2031890a10d78aab0619acb6c3f7206050.tar.zst
freebsd-ports-gnome-8ed97b2031890a10d78aab0619acb6c3f7206050.zip
BROKEN with gcc 4.2
Diffstat (limited to 'misc')
-rw-r--r--misc/alevt/Makefile4
-rw-r--r--misc/asbutton/Makefile8
2 files changed, 11 insertions, 1 deletions
diff --git a/misc/alevt/Makefile b/misc/alevt/Makefile
index 9216db6eb181..c67e7b9ee971 100644
--- a/misc/alevt/Makefile
+++ b/misc/alevt/Makefile
@@ -22,6 +22,10 @@ MAN1= alevt.1x alevt-date.1 alevt-cap.1
.include <bsd.port.pre.mk>
+.if ${OSVERSION} >= 700042
+BROKEN= Broken with gcc 4.2
+.endif
+
.if defined(WITH_PNG)
LIB_DEPENDS+= png.5:${PORTSDIR}/graphics/png
MAKE_ARGS+= -DWITH_PNG
diff --git a/misc/asbutton/Makefile b/misc/asbutton/Makefile
index fa29fac73c65..4a3ce1370954 100644
--- a/misc/asbutton/Makefile
+++ b/misc/asbutton/Makefile
@@ -21,6 +21,12 @@ MAKE_ARGS= INCLUDES="-I${X11BASE}/include/X11 -I${X11BASE}/include" \
LIBINC="-L${X11BASE}/lib" LIBS="-lm -lX11 -lXpm -lXext" \
CCFLAGS="${CFLAGS}"
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 700042
+BROKEN= Broken with gcc 4.2
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's:gcc :${CC} :' ${WRKSRC}/Makefile
@@ -37,4 +43,4 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/.asbuttonrc ${PREFIX}/share/examples/asbutton/asbuttonrc && ${CHMOD} u+rw ${PREFIX}/share/examples/asbutton/asbuttonrc
@${ECHO} "===> Use 'asbutton -h' for help."
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>