diff options
author | tg <tg@FreeBSD.org> | 2001-07-12 19:41:06 +0800 |
---|---|---|
committer | tg <tg@FreeBSD.org> | 2001-07-12 19:41:06 +0800 |
commit | 17d82ae4f02683b4f9d430ecb7a7427f2e497e1c (patch) | |
tree | f6c4e7d49a99f9c5a44150da49d5981b4640c277 /x11 | |
parent | 9df61d53d7058e0e0b97df0b09256460ab5b4e14 (diff) | |
download | freebsd-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/Makefile | 4 |
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 |