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