aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>2001-07-12 19:41:06 +0800
committertg <tg@FreeBSD.org>2001-07-12 19:41:06 +0800
commit17d82ae4f02683b4f9d430ecb7a7427f2e497e1c (patch)
treef6c4e7d49a99f9c5a44150da49d5981b4640c277 /x11
parent9df61d53d7058e0e0b97df0b09256460ab5b4e14 (diff)
downloadfreebsd-ports-gnome-17d82ae4f02683b4f9d430ecb7a7427f2e497e1c.tar.gz
freebsd-ports-gnome-17d82ae4f02683b4f9d430ecb7a7427f2e497e1c.tar.zst
freebsd-ports-gnome-17d82ae4f02683b4f9d430ecb7a7427f2e497e1c.zip
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>
Diffstat (limited to 'x11')
-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