aboutsummaryrefslogtreecommitdiffstats
path: root/x11/buttonbox
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 /x11/buttonbox
parenta2d952716572138d42dfe225d1aeffe58a7dd1fb (diff)
downloadfreebsd-ports-graphics-8ed97b2031890a10d78aab0619acb6c3f7206050.tar.gz
freebsd-ports-graphics-8ed97b2031890a10d78aab0619acb6c3f7206050.tar.zst
freebsd-ports-graphics-8ed97b2031890a10d78aab0619acb6c3f7206050.zip
BROKEN with gcc 4.2
Diffstat (limited to 'x11/buttonbox')
-rw-r--r--x11/buttonbox/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/x11/buttonbox/Makefile b/x11/buttonbox/Makefile
index 3dac8044c74..eabe9a3f95d 100644
--- a/x11/buttonbox/Makefile
+++ b/x11/buttonbox/Makefile
@@ -22,6 +22,12 @@ PLIST= ${WRKDIR}/pkg-plist
USE_X_PREFIX= yes
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 700042
+BROKEN= Broken with gcc 4.2
+.endif
+
do-build:
cd ${WRKSRC} && ${CC} ${CFLAGS} -o buttonbox -L${X11BASE}/lib \
-I${X11BASE}/include -lX11 -lXext button.c configuration.c \
@@ -47,4 +53,4 @@ do-install:
done
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>