pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/doc Add a NEWS blob about PLIST_VARS.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8512e39f0d8b
branches:  trunk
changeset: 541019:8512e39f0d8b
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Sun Apr 13 13:24:16 2008 +0000

description:
Add a NEWS blob about PLIST_VARS.

diffstat:

 doc/NEWS |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r e2c4e19d7e4b -r 8512e39f0d8b doc/NEWS
--- a/doc/NEWS  Sun Apr 13 13:15:59 2008 +0000
+++ b/doc/NEWS  Sun Apr 13 13:24:16 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: NEWS,v 1.4 2008/02/27 16:49:34 rillig Exp $
+# $NetBSD: NEWS,v 1.5 2008/04/13 13:24:16 tnn Exp $
 
 PKGSRC NEWS
 ===========
@@ -7,6 +7,13 @@
   pkgsrc. The intended readers are the pkgsrc developers as well as anyone
   tracking pkgsrc-current.
 
+PLIST_VARS introduced [jlam 20080413]
+       PLIST_VARS is a simpler way to do conditional PLIST entries.
+       The old method of doing e.g. PLIST_SUBST+= FOO="@comment " can
+       now be done by unconditionally setting PLIST_VARS+=foo and
+       conditionally setting PLIST.foo=yes. This will result in substitution
+       of ${PLIST.foo} in the PLIST with either "" or "@comment ".
+
 SKIP_PORTABILITY_CHECK is obsolete [rillig 20080220]
        After being deprecated for about 16 months, this early misdesign
        has finally been obsoleted and removed from pkgsrc.



Home | Main Index | Thread Index | Old Index