Subject: Re: pkg/32850: xlockmore/Makefile.common needs option to disable
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: George Michaelson <ggm@pobox.com>
List: pkgsrc-bugs
Date: 02/16/2006 04:00:04
The following reply was made to PR pkg/32850; it has been noted by GNATS.
From: George Michaelson <ggm@pobox.com>
To: gnats-bugs@netbsd.org
Cc: gnats-admin@netbsd.org
Subject: Re: pkg/32850: xlockmore/Makefile.common needs option to disable
vroot (tvtwm)
Date: Thu, 16 Feb 2006 13:58:15 +1000
better patch with the option added to the PKG_SUPPORTED_OPTIONS LIST
-George
Index: Makefile.common
===================================================================
RCS file: /cvsroot/pkgsrc/x11/xlockmore/Makefile.common,v
retrieving revision 1.41
diff -u -p -r1.41 Makefile.common
--- Makefile.common 12 Jan 2006 19:37:44 -0000 1.41
+++ Makefile.common 16 Feb 2006 03:57:47 -0000
@@ -29,7 +29,7 @@ PKG_INSTALLATION_TYPES= overwrite pkgvie
.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
@@ -76,6 +76,10 @@ CONFIGURE_ARGS+= --without-dpms
CONFIGURE_ARGS+= --disable-allow-root
.endif
+.if !empty(PKG_OPTIONS:Mxlockmore-disable-vroot)
+CONFIGURE_ARGS+= --disable-vroot
+.endif
+
.include "../../mk/x11.buildlink3.mk"
# Set the complete paths to the sound files and set the default xlock