From e6c86c634a4a943b1e8c98ebb4a4753d9d53fd78 Mon Sep 17 00:00:00 2001 From: Thomas Gellekum Date: Thu, 12 Jul 2001 11:41:06 +0000 Subject: [PATCH] Add a knob to disable the `allow-root' functionality, which lets root unlock the screensaver regardless of the current owner. Submitted by: Anders Nordby --- x11/xlockmore/Makefile | 4 ++++ 1 file changed, 4 insertions(+) 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