aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2007-05-25 23:05:08 +0000
committerKris Kennaway <kris@FreeBSD.org>2007-05-25 23:05:08 +0000
commit71b36ac46930076196cdfd6a9313c36003da6260 (patch)
tree929b82f8a19080f9e96ed6865266659b3d97d0fd /misc
parent55abac1679dcc04d780ac2877f1f60a4c446b3b0 (diff)
downloadports-71b36ac46930076196cdfd6a9313c36003da6260.tar.gz
ports-71b36ac46930076196cdfd6a9313c36003da6260.zip
Notes
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>