diff options
author | hubertf <hubertf> | 2006-01-13 17:21:07 +0000 |
---|---|---|
committer | hubertf <hubertf> | 2006-01-13 17:21:07 +0000 |
commit | 7386723c080b5d7495a9803adaa1fdb2dfb483ec (patch) | |
tree | 7c7967c062d7ad6b3c6b14317e2a23cd5e021eb3 /doc | |
parent | 41753df25691f40d6a09834b6a508f904113543a (diff) | |
download | pkgsrc-7386723c080b5d7495a9803adaa1fdb2dfb483ec.tar.gz |
Add an example for the pkg options variables in /etc/mk.conf
Diffstat (limited to 'doc')
-rw-r--r-- | doc/guide/files/configuring.xml | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/doc/guide/files/configuring.xml b/doc/guide/files/configuring.xml index e6988a06ec3..55ff71bdac9 100644 --- a/doc/guide/files/configuring.xml +++ b/doc/guide/files/configuring.xml @@ -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> |