summaryrefslogtreecommitdiff
path: root/misc/asbutton
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/asbutton
parent* change DIST_SUBDIR to openoffice.org2[1] (diff)
BROKEN with gcc 4.2
Notes
Notes: svn path=/head/; revision=191863
Diffstat (limited to 'misc/asbutton')
-rw-r--r--misc/asbutton/Makefile8
1 files changed, 7 insertions, 1 deletions
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>