aboutsummaryrefslogtreecommitdiff
path: root/x11/xlockmore/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/xlockmore/Makefile')
-rw-r--r--x11/xlockmore/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/x11/xlockmore/Makefile b/x11/xlockmore/Makefile
index 8e0ace81f5e7..fd374098ccd3 100644
--- a/x11/xlockmore/Makefile
+++ b/x11/xlockmore/Makefile
@@ -42,7 +42,7 @@ USE_MESA= yes
CONFIGURE_ARGS+= --without-mesagl
.endif
-XFREE86VERSION!= /usr/bin/awk '/\#define XFree86Version/ {print $$3}' \
+XFREE86VERSION!= /usr/bin/awk '/\#.*define XFree86Version/ {print $$NF}' \
${X11BASE}/lib/X11/config/xfree86.cf
.if ${XFREE86VERSION} >= 4000