pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/doc/guide/files Add an example for the pkg options var...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a74025dc9c47
branches:  trunk
changeset: 506259:a74025dc9c47
user:      hubertf <hubertf%pkgsrc.org@localhost>
date:      Fri Jan 13 17:21:07 2006 +0000

description:
Add an example for the pkg options variables in /etc/mk.conf

diffstat:

 doc/guide/files/configuring.xml |  10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r df3bc0fb8072 -r a74025dc9c47 doc/guide/files/configuring.xml
--- a/doc/guide/files/configuring.xml   Fri Jan 13 16:48:11 2006 +0000
+++ b/doc/guide/files/configuring.xml   Fri Jan 13 17:21:07 2006 +0000
@@ -1,4 +1,4 @@
-<!-- $NetBSD: configuring.xml,v 1.9 2006/01/02 22:30:52 jschauma Exp $ -->
+<!-- $NetBSD: configuring.xml,v 1.10 2006/01/13 17:21:07 hubertf Exp $ -->
 
 <chapter id="configuring">
   <title>Configuring pkgsrc</title>
@@ -187,7 +187,13 @@
       which can be used to select or disable options specifically for
       package <replaceable>pkgbase</replaceable>.  Options listed in these
       variables are selected, options preceded by <quote>-</quote> are
-      disabled.</para>
+      disabled. A few examples:</para>
+
+    <screen>
+&uprompt; <command>grep "PKG.*OPTION" /etc/mk.conf</command>
+PKG_DEFAULT_OPTIONS=    -arts -dvdread -esound 
+PKG_OPTIONS.kdebase=    debug -sasl
+PKG_OPTIONS.apache=     suexec </screen>
 
     <para>The following settings are consulted in the order given, and the
       last setting that selects or disables an option is used:</para>



Home | Main Index | Thread Index | Old Index