From dfbf38a3ef25dda3800d125bfd25148ae1c64431 Mon Sep 17 00:00:00 2001 From: hubertf Date: Thu, 29 Nov 2001 01:12:24 +0000 Subject: 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. --- shells/bash2/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'shells/bash2') diff --git a/shells/bash2/Makefile b/shells/bash2/Makefile index 350150c61ff..471a27ce130 100644 --- a/shells/bash2/Makefile +++ b/shells/bash2/Makefile @@ -1,10 +1,10 @@ -# $NetBSD: Makefile,v 1.30 2001/09/23 21:01:29 tron Exp $ +# $NetBSD: Makefile,v 1.31 2001/11/29 01:12:47 hubertf Exp $ # V= 2.05 DV= 2.05 DISTNAME= bash-${V} -PKGNAME= ${DISTNAME}nb1 +PKGREVISION= 1 CATEGORIES= shells MASTER_SITES= ${MASTER_SITE_GNU:=bash/} \ ftp://slc2.ins.cwru.edu/pub/dist/ -- cgit v1.2.3