diff options
author | hubertf <hubertf@pkgsrc.org> | 2001-11-29 01:12:24 +0000 |
---|---|---|
committer | hubertf <hubertf@pkgsrc.org> | 2001-11-29 01:12:24 +0000 |
commit | 5542206cbab4ff38cfe05a48a6dcf0205f5c9ff5 (patch) | |
tree | 57da34d13a725a0c61343ca8eabdee3d27dfbd9a /devel/automake | |
parent | 718ca46cf7df72abd300f82ed7c9b7d676ff468b (diff) | |
download | pkgsrc-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 'devel/automake')
-rw-r--r-- | devel/automake/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/devel/automake/Makefile b/devel/automake/Makefile index d6585874c6d..693815dd782 100644 --- a/devel/automake/Makefile +++ b/devel/automake/Makefile @@ -1,9 +1,10 @@ -# $NetBSD: Makefile,v 1.24 2001/11/28 05:20:46 jlam Exp $ +# $NetBSD: Makefile,v 1.25 2001/11/29 01:12:28 hubertf Exp $ # FreeBSD Id: Makefile,v 1.5 1997/09/19 09:29:04 max Exp # DISTNAME= automake-1.4-p5 -PKGNAME= ${DISTNAME:C/-p/./}nb1 +PKGNAME= ${DISTNAME:C/-p/./} +PKGREVISION= 1 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_GNU:=automake/} |