Subject: CVS commit: pkgsrc/mk
To: None <pkgsrc-changes@netbsd.org>
From: Hubert Feyrer <hubertf@netbsd.org>
List: pkgsrc-changes
Date: 11/29/2001 03:17:26
Module Name: pkgsrc
Committed By: hubertf
Date: Thu Nov 29 01:17:26 UTC 2001
Modified Files:
pkgsrc/mk: bsd.pkg.mk
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -r1.865 -r1.866 pkgsrc/mk/bsd.pkg.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.