aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2008-03-13 19:33:44 +0800
committermiwi <miwi@FreeBSD.org>2008-03-13 19:33:44 +0800
commit96883e4c57e67ef7a6f4eb7577939d38afbbbddb (patch)
treed7827dc1353bc473ce3e47d2f50362648ab15749 /x11
parentd8ed1b11a1e15b01a8c4a8fc120f8e8d4c94aea7 (diff)
downloadfreebsd-ports-gnome-96883e4c57e67ef7a6f4eb7577939d38afbbbddb.tar.gz
freebsd-ports-gnome-96883e4c57e67ef7a6f4eb7577939d38afbbbddb.tar.zst
freebsd-ports-gnome-96883e4c57e67ef7a6f4eb7577939d38afbbbddb.zip
- Fix Mesa/GL modes
PR: 121428 Submitted by: Oliver Fromme <olli@secnetix.de>
Diffstat (limited to 'x11')
-rw-r--r--x11/xlockmore/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/x11/xlockmore/Makefile b/x11/xlockmore/Makefile
index 8c4c6a791b98..1d962310ec69 100644
--- a/x11/xlockmore/Makefile
+++ b/x11/xlockmore/Makefile
@@ -7,6 +7,7 @@
PORTNAME= xlockmore
PORTVERSION= 5.25
+PORTREVISION= 1
CATEGORIES?= x11
MASTER_SITES= ftp://ibiblio.org/pub/Linux/X11/screensavers/
@@ -50,11 +51,10 @@ OPTIONS=MESAGL "Enable Mesa 3D (for GL modes)" off \
.include <bsd.port.pre.mk>
.if ${ARCH} == amd64
-WITH_MESAGL= no
-.else
-WITH_MESAGL?= yes
+.undef WITH_MESAGL
.endif
-.if ${WITH_MESAGL} == yes
+
+.if defined(WITH_MESAGL)
CONFIGURE_ARGS+= --with-mesa
MESALIB=${PTHREAD_LIBS}
USE_GL= yes