Source-Changes-HG archive

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

[src/trunk]: src/share/man/man7 Deprecate NO_WRKSUBDIR, replacing it with an ...



details:   https://anonhg.NetBSD.org/src/rev/9b38bed66774
branches:  trunk
changeset: 514731:9b38bed66774
user:      agc <agc%NetBSD.org@localhost>
date:      Sun Sep 09 20:43:42 2001 +0000

description:
Deprecate NO_WRKSUBDIR, replacing it with an explicit assignment of:

WRKSRC= ${WRKDIR}

This is much cleaner, much more indicative of what happens, and removes
another of the negative definitions (NO_.* = value).

diffstat:

 share/man/man7/packages.7 |  15 +++++++--------
 1 files changed, 7 insertions(+), 8 deletions(-)

diffs (37 lines):

diff -r f68ae11ab64c -r 9b38bed66774 share/man/man7/packages.7
--- a/share/man/man7/packages.7 Sun Sep 09 20:41:47 2001 +0000
+++ b/share/man/man7/packages.7 Sun Sep 09 20:43:42 2001 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: packages.7,v 1.56 2001/09/08 01:29:41 wiz Exp $
+.\"    $NetBSD: packages.7,v 1.57 2001/09/09 20:43:42 agc Exp $
 .\"
 .\" from: NetBSD: bsd.pkg.mk,v 1.89 1998/06/01 21:30:10 hubertf Exp
 .\"
@@ -151,11 +151,13 @@
 .It WRKSRC
 A subdirectory of ${WRKDIR} where the distribution actually
 unpacks to.  The default is
-.Pa ${WRKDIR}/${DISTNAME}
-unless
+.Pa ${WRKDIR}/${DISTNAME} .
+The value of WRKSRC should be set explicitly
+if the package does not follow standard conventions
+and include the package's name as a subdirectory.
+Please note that the old
 .Dv NO_WRKSUBDIR
-is set, in which case it is simply
-.Pa ${WRKDIR} .
+definition has been deprecated and should not be used.
 .It DISTNAME
 Name of package or distribution.
 .It DISTFILES
@@ -322,9 +324,6 @@
 Distfile(s) of this package may not be made available via ftp.  Set this string to
 .Pa ${RESTRICTED} .
 If this variable is set, the distfile will not be mirrored by ftp.netbsd.org.
-.It NO_WRKSUBDIR
-Assume package unpacks directly into
-.Pa ${WRKDIR} .
 .It NO_DEPENDS
 Don't verify build of dependencies.
 .It CHECK_SHLIBS



Home | Main Index | Thread Index | Old Index