summaryrefslogtreecommitdiff
path: root/doc/guide
diff options
context:
space:
mode:
authorrillig <rillig>2007-05-01 11:44:48 +0000
committerrillig <rillig>2007-05-01 11:44:48 +0000
commit3fb849356650f33aea64e6c24801baff03fa0807 (patch)
tree6521f86ba1649a3a654be9e5ad4bd32b1718413b /doc/guide
parent1e10124ab0b2ebaa4bef8c01edaa75cab685a5d9 (diff)
downloadpkgsrc-3fb849356650f33aea64e6c24801baff03fa0807.tar.gz
LOCALBASE must be defined before it can be used in .if directives.
Diffstat (limited to 'doc/guide')
-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)