diff options
author | hubertf <hubertf@pkgsrc.org> | 2001-12-08 02:14:38 +0000 |
---|---|---|
committer | hubertf <hubertf@pkgsrc.org> | 2001-12-08 02:14:38 +0000 |
commit | a0a7a4896a73f578e2c4c7fc1e7c741a7ab35b17 (patch) | |
tree | 00a103cbb6abc92393d876b8e686f20138d2d66a | |
parent | 2dfc71380de766cb1a4ce1e194dec399407b5df5 (diff) | |
download | pkgsrc-a0a7a4896a73f578e2c4c7fc1e7c741a7ab35b17.tar.gz |
Clarify things on PKGREVISION a bit, and mention that it should be removed
if the pkg is upgraded to a new release of the software. (Setting
PKGREVISION=0 should do ok too, but I don't think we want to document that)
-rw-r--r-- | Packages.txt | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/Packages.txt b/Packages.txt index f06d3117a32..713136aae14 100644 --- a/Packages.txt +++ b/Packages.txt @@ -1,4 +1,4 @@ -# $NetBSD: Packages.txt,v 1.218 2001/12/02 21:29:20 wiz Exp $ +# $NetBSD: Packages.txt,v 1.219 2001/12/08 02:14:38 hubertf Exp $ ########################################################################### ========================== @@ -1981,15 +1981,20 @@ NOMAN=YES either in the environment or in /etc/mk.conf. When making fixes to an existing package it can be useful to change the version number in PKGNAME. To avoid conflicting with future versions -by the original author, a 'nb1' ('nb2', ...) suffix is used on package -versions. The "nb" is treated like a "." by the pkg tools. - -To set the package's revision, set the PKGREVISION variable, e.g. +by the original author, a 'nb1' ('nb2', ...) suffix can be used on package +versions by setting PKGREVISION=1 (2,. ..). The "nb" is treated like a "." +by the pkg tools. E.g. DISTNAME= foo-17.42 PKGREVISION= 9 -This will result in a PKGNAME of foo-17.42nb9. +will result in a PKGNAME of foo-17.42nb9. + +When a new release of the package is released, the PKGREVISION should be +removed. E.g. on a new minor release of the above package, things should +be like: + +DISTNAME= foo-17.43 10.18 "Could not find bsd.own.mk" - what's wrong? |