aboutsummaryrefslogtreecommitdiffstats
path: root/misc/asbutton
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/asbutton
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/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>