aboutsummaryrefslogtreecommitdiffstats
path: root/x11/xlockmore/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/xlockmore/Makefile')
-rw-r--r--x11/xlockmore/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/x11/xlockmore/Makefile b/x11/xlockmore/Makefile
index e62d68c1933e..d13cb86b872f 100644
--- a/x11/xlockmore/Makefile
+++ b/x11/xlockmore/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= xlockmore
-PORTVERSION= 5.19
+PORTVERSION= 5.20.1
CATEGORIES?= x11
MASTER_SITES= ftp://ftp.tux.org/pub/tux/bagleyd/xlockmore/ \
http://www.tux.org/~bagleyd/latest/
@@ -34,7 +34,9 @@ USE_X_PREFIX= yes
USE_XPM= yes
MAN1= xlock.1
-.if ${MACHINE_ARCH} == "amd64"
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == amd64
WITH_MESAGL= no
.else
WITH_MESAGL?= yes
@@ -61,8 +63,6 @@ CONFIGURE_ARGS+= --enable-syslog
CONFIGURE_ENV+= XLOCKLIBS="${KRB5LIB} ${KRB4LIB} ${MESALIB}"
-.include <bsd.port.pre.mk>
-
.if defined(WITH_DISABLE_ALLOW_ROOT)
CONFIGURE_ARGS+= --disable-allow-root
.endif