mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-25 21:07:40 +00:00
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
@ -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 New Issue
Block a user