aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2004-02-11 02:04:08 +0800
committerarved <arved@FreeBSD.org>2004-02-11 02:04:08 +0800
commit28d624172c25b70ab17a1cc869a2b17a1efbd6ef (patch)
treebf39101bfb06d111ed9d37101199cc82a699005c
parentd3372324722d0a4ac070644e99078c2a066c0a8c (diff)
downloadfreebsd-ports-gnome-28d624172c25b70ab17a1cc869a2b17a1efbd6ef.tar.gz
freebsd-ports-gnome-28d624172c25b70ab17a1cc869a2b17a1efbd6ef.tar.zst
freebsd-ports-gnome-28d624172c25b70ab17a1cc869a2b17a1efbd6ef.zip
Fix build on AMD64 by disabling MESAGL.
-rw-r--r--x11/xlockmore/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/x11/xlockmore/Makefile b/x11/xlockmore/Makefile
index 5a3b95fea48d..e05ae7e8387b 100644
--- a/x11/xlockmore/Makefile
+++ b/x11/xlockmore/Makefile
@@ -34,7 +34,11 @@ USE_X_PREFIX= yes
USE_XPM= yes
MAN1= xlock.1
+.if ${MACHINE_ARCH} == "amd64"
+WITH_MESAGL= no
+.else
WITH_MESAGL?= yes
+.endif
.if ${WITH_MESAGL} == yes
CONFIGURE_ARGS+= --with-mesa
MESALIB=${PTHREAD_LIBS}