summaryrefslogtreecommitdiff
path: root/x11/xlockmore
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>2001-07-12 11:41:06 +0000
committerThomas Gellekum <tg@FreeBSD.org>2001-07-12 11:41:06 +0000
commite6c86c634a4a943b1e8c98ebb4a4753d9d53fd78 (patch)
tree1d12a461e00dcbb63fad213b91ae699de7b17272 /x11/xlockmore
parentUpdate to 0.9.0. (diff)
Add a knob to disable the `allow-root' functionality, which lets root
unlock the screensaver regardless of the current owner. Submitted by: Anders Nordby <anders@fix.no>
Notes
Notes: svn path=/head/; revision=45067
Diffstat (limited to 'x11/xlockmore')
-rw-r--r--x11/xlockmore/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/x11/xlockmore/Makefile b/x11/xlockmore/Makefile
index d017d794410d..2d9ea17f32fd 100644
--- a/x11/xlockmore/Makefile
+++ b/x11/xlockmore/Makefile
@@ -45,6 +45,10 @@ CONFIGURE_ENV+= XLOCKLIBS="${PTHREAD_LIBS}"
CONFIGURE_ARGS+= --without-mesagl --without-opengl
.endif
+.if defined(WITH_DISABLE_ALLOW_ROOT)
+CONFIGURE_ARGS+= --disable-allow-root
+.endif
+
.if ${XFREE86_VERSION} >= 4
post-configure:
${PERL} -pi -e 's/-lXdpms//g' ${WRKSRC}/modes/Makefile