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:
parent
8fcbbdadd4
commit
e6c86c634a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=45067
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue