summaryrefslogtreecommitdiff
path: root/Packages.txt
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>2001-11-29 01:12:24 +0000
committerhubertf <hubertf@pkgsrc.org>2001-11-29 01:12:24 +0000
commit5542206cbab4ff38cfe05a48a6dcf0205f5c9ff5 (patch)
tree57da34d13a725a0c61343ca8eabdee3d27dfbd9a /Packages.txt
parent718ca46cf7df72abd300f82ed7c9b7d676ff468b (diff)
downloadpkgsrc-5542206cbab4ff38cfe05a48a6dcf0205f5c9ff5.tar.gz
Get rid of manually adding "nbX" to PKGNAME when a pkg was changed in
pkgsrc. Instead, a new variable PKGREVISION is invented that can get bumped independent of DISTNAME and PKGNAME. Example #1: DISTNAME= foo-X.Y PKGREVISION= Z => PKGNAME= foo-X.YnbZ Example #2: DISTNAME= barthing-X.Y PKGNAME= bar-X.Y PKGREVISION= Z => PKGNAME= bar=X.YnbZ (!) On subsequent changes, only PKGREVISION needs to be bumped, no more risk of getting DISTNAME changed accidentally.
Diffstat (limited to 'Packages.txt')
-rw-r--r--Packages.txt13
1 files changed, 10 insertions, 3 deletions
diff --git a/Packages.txt b/Packages.txt
index 0dca4d0d0b4..b671d528df8 100644
--- a/Packages.txt
+++ b/Packages.txt
@@ -1,4 +1,4 @@
-# $NetBSD: Packages.txt,v 1.215 2001/11/27 03:03:11 hubertf Exp $
+# $NetBSD: Packages.txt,v 1.216 2001/11/29 01:12:24 hubertf Exp $
###########################################################################
==========================
@@ -1977,8 +1977,15 @@ 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, use a 'nb1' suffix (later versions should
-increment this to give 'nb2' and so on).
+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.
+
+DISTNAME= foo-17.42
+PKGREVISION= 9
+
+This will result in a PKGNAME of foo-17.42nb9.
10.18 "Could not find bsd.own.mk" - what's wrong?