summaryrefslogtreecommitdiff
path: root/doc/guide/files
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-05-01 11:44:48 +0000
committerrillig <rillig@pkgsrc.org>2007-05-01 11:44:48 +0000
commit079ba155a6de85a07deb4be7ce11fee28f0843c3 (patch)
tree6521f86ba1649a3a654be9e5ad4bd32b1718413b /doc/guide/files
parent4e522a47768366310ebff83a9cdab143bd2adb9f (diff)
downloadpkgsrc-079ba155a6de85a07deb4be7ce11fee28f0843c3.tar.gz
LOCALBASE must be defined before it can be used in .if directives.
Diffstat (limited to 'doc/guide/files')
-rw-r--r--doc/guide/files/faq.xml8
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/guide/files/faq.xml b/doc/guide/files/faq.xml
index 58f15e6f8f5..fb37cafd5fb 100644
--- a/doc/guide/files/faq.xml
+++ b/doc/guide/files/faq.xml
@@ -1,4 +1,4 @@
-<!-- $NetBSD: faq.xml,v 1.32 2006/12/04 14:34:20 kano Exp $ -->
+<!-- $NetBSD: faq.xml,v 1.33 2007/05/01 11:44:48 rillig Exp $ -->
<chapter id="faq"> <?dbhtml filename="faq.html"?>
<title>Frequently Asked Questions</title>
@@ -468,8 +468,10 @@ the one that corresponds to your release (determine via <command>uname
password for each required package installed. To avoid this, the sudo
package can be used, which does password caching over a limited time. To
use it, install sudo (either as binary package or from
-<filename role="pkg">security/sudo</filename>) and then put the following
-into your <filename>/etc/mk.conf</filename>:</para>
+<filename role="pkg">security/sudo</filename>) and then put the
+following into your <filename>/etc/mk.conf</filename>, somewhere
+<emphasis>after</emphasis> the definition of the
+<varname>LOCALBASE</varname> variable:</para>
<programlisting>
.if exists(${LOCALBASE}/bin/sudo)