pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/doc/guide/files Document that ${PKGBASE} cannot be use...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/13d3b2f3ed6b
branches:  trunk
changeset: 504201:13d3b2f3ed6b
user:      dillo <dillo%pkgsrc.org@localhost>
date:      Tue Dec 06 19:58:35 2005 +0000

description:
Document that ${PKGBASE} cannot be used in defining PKG_OPTIONS_VAR.

diffstat:

 doc/guide/files/options.xml |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r 21ca7b925fca -r 13d3b2f3ed6b doc/guide/files/options.xml
--- a/doc/guide/files/options.xml       Tue Dec 06 19:31:24 2005 +0000
+++ b/doc/guide/files/options.xml       Tue Dec 06 19:58:35 2005 +0000
@@ -1,4 +1,4 @@
-<!-- $NetBSD: options.xml,v 1.15 2005/11/04 09:49:37 salo Exp $ -->
+<!-- $NetBSD: options.xml,v 1.16 2005/12/06 19:58:35 dillo Exp $ -->
 
 <!-- based on: pkgsrc/mk/bsd.options.mk 1.42 -->
 
@@ -92,7 +92,9 @@
 <listitem><para><varname>PKG_OPTIONS_VAR</varname> is the name of the
 &man.make.1; variable that the user can set to override the default
 options.  It should be set to
-PKG_OPTIONS.<replaceable>pkgbase</replaceable>.</para></listitem>
+PKG_OPTIONS.<replaceable>pkgbase</replaceable>.  Do not set it to
+PKG_OPTIONS.${PKGBASE}, since <varname>PKGBASE</varname> is set after
+<varname>PKG_OPTIONS_VAR</varname> is used.</para></listitem>
 
 <listitem><para><varname>PKG_SUPPORTED_OPTIONS</varname> is a list of
 build options supported by the package.</para></listitem>



Home | Main Index | Thread Index | Old Index