Subject: Re pkg/32850 -updated diff
To: None <netbsd-bugs@NetBSD.org>
From: George Michaelson <ggm@apnic.net>
List: netbsd-bugs
Date: 10/01/2007 10:38:39
--MP_jQVJDCoqMjQDMgmlZg_VoVS
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

here is an updated diff, taking account of changes to the OPTIONS for
this pkg.

-george
--MP_jQVJDCoqMjQDMgmlZg_VoVS
Content-Type: text/x-patch; name=xlockmore.diff
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename=xlockmore.diff

--- Makefile.common.dist	2007-10-01 09:58:21.000000000 +1000
+++ Makefile.common	2007-10-01 09:58:09.000000000 +1000
@@ -29,7 +29,7 @@
 .include "../../mk/bsd.prefs.mk"
 
 PKG_OPTIONS_VAR=	PKG_OPTIONS.xlockmore
-PKG_SUPPORTED_OPTIONS=	xlockmore-allow-root xlockmore-dpms
+PKG_SUPPORTED_OPTIONS=	xlockmore-allow-root xlockmore-dpms xlockmore-disable-vroot
 .if ${OPSYS} == "NetBSD"
 PKG_SUPPORTED_OPTIONS+=	oss
 .endif
@@ -71,6 +71,10 @@
 CONFIGURE_ARGS+=	--disable-allow-root
 .endif
 
+.if !empty(PKG_OPTIONS:Mxlockmore-disable-vroot)
+CONFIGURE_ARGS+=	--disable-vroot
+.endif
+
 BUILDLINK_DEPMETHOD.libXt?=	build
 
 .include "../../x11/libICE/buildlink3.mk"

--MP_jQVJDCoqMjQDMgmlZg_VoVS--