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>
This commit is contained in:
Thomas Gellekum 2001-07-12 11:41:06 +00:00
parent 8fcbbdadd4
commit e6c86c634a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=45067

View file

@ -45,6 +45,10 @@ CONFIGURE_ENV+= XLOCKLIBS="${PTHREAD_LIBS}"
CONFIGURE_ARGS+= --without-mesagl --without-opengl CONFIGURE_ARGS+= --without-mesagl --without-opengl
.endif .endif
.if defined(WITH_DISABLE_ALLOW_ROOT)
CONFIGURE_ARGS+= --disable-allow-root
.endif
.if ${XFREE86_VERSION} >= 4 .if ${XFREE86_VERSION} >= 4
post-configure: post-configure:
${PERL} -pi -e 's/-lXdpms//g' ${WRKSRC}/modes/Makefile ${PERL} -pi -e 's/-lXdpms//g' ${WRKSRC}/modes/Makefile