diff options
author | hubertf <hubertf> | 2001-11-29 01:12:24 +0000 |
---|---|---|
committer | hubertf <hubertf> | 2001-11-29 01:12:24 +0000 |
commit | a7156fd6114f66731ac43c87becf3bfc32863119 (patch) | |
tree | 57da34d13a725a0c61343ca8eabdee3d27dfbd9a /emulators | |
parent | 9e1b7e2056dec034a2775f265b4a5eff1b7b7455 (diff) | |
download | pkgsrc-a7156fd6114f66731ac43c87becf3bfc32863119.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 'emulators')
-rw-r--r-- | emulators/hercules/Makefile | 4 | ||||
-rw-r--r-- | emulators/suse_vmware/Makefile | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/emulators/hercules/Makefile b/emulators/hercules/Makefile index 31878b41120..64dec5a43f3 100644 --- a/emulators/hercules/Makefile +++ b/emulators/hercules/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.8 2001/09/27 23:18:02 jlam Exp $ +# $NetBSD: Makefile,v 1.9 2001/11/29 01:12:32 hubertf Exp $ DISTNAME= hercules-2.11 -PKGNAME= ${DISTNAME}nb1 +PKGREVISION= 1 CATEGORIES= emulators MASTER_SITES= http://www.conmicro.cx/hercules/ diff --git a/emulators/suse_vmware/Makefile b/emulators/suse_vmware/Makefile index 8375351545d..28b74af13a2 100644 --- a/emulators/suse_vmware/Makefile +++ b/emulators/suse_vmware/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.3 2001/08/01 23:21:00 kristerw Exp $ +# $NetBSD: Makefile,v 1.4 2001/11/29 01:12:32 hubertf Exp $ DISTNAME= suse_vmware-${SUSE_VERSION} -PKGNAME= ${DISTNAME}nb1 +PKGREVISION= 1 CATEGORIES= emulators MASTER_SITES= ${MASTER_SITE_SUSE:=a1/} DISTFILES= ${RPMFILES} |