summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>2001-12-08 02:12:38 +0000
committerhubertf <hubertf@pkgsrc.org>2001-12-08 02:12:38 +0000
commit2dfc71380de766cb1a4ce1e194dec399407b5df5 (patch)
tree70aeecc51201d4b26f7ba41d772161369b001a66 /mk
parentd42d907d6a72ff1b6a3c606fcf2195ddf77b555d (diff)
downloadpkgsrc-2dfc71380de766cb1a4ce1e194dec399407b5df5.tar.gz
Treat PKGREVISION=0 as if it wasn't set (-> add no "nb0")
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index a400e5cdec2..181329d87ee 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.876 2001/12/07 09:52:57 abs Exp $
+# $NetBSD: bsd.pkg.mk,v 1.877 2001/12/08 02:12:38 hubertf Exp $
#
# This file is in the public domain.
#
@@ -860,7 +860,7 @@ PATCH_SITES:= ${_MASTER_SITE_OVERRIDE} ${PATCH_SITES}
# Derived names so that they're easily overridable.
DISTFILES?= ${DISTNAME}${EXTRACT_SUFX}
-.if defined(PKGREVISION) && ${PKGREVISION} != ""
+.if defined(PKGREVISION) && ${PKGREVISION} != "" && ${PKGREVISION} != "0"
. if defined(PKGNAME)
PKGNAME:= ${PKGNAME}nb${PKGREVISION}
. else