pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/doc/guide/files LOCALBASE must be defined before it ca...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/af27567db9d0
branches:  trunk
changeset: 528386:af27567db9d0
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Tue May 01 11:44:48 2007 +0000

description:
LOCALBASE must be defined before it can be used in .if directives.

diffstat:

 doc/guide/files/faq.xml |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (22 lines):

diff -r df29a739586b -r af27567db9d0 doc/guide/files/faq.xml
--- a/doc/guide/files/faq.xml   Tue May 01 11:34:05 2007 +0000
+++ b/doc/guide/files/faq.xml   Tue May 01 11:44:48 2007 +0000
@@ -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 @@
 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)



Home | Main Index | Thread Index | Old Index