pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk mk/bsd.pkg.mk: include PKGVERSION in show-all target



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9239f0ce1acb
branches:  trunk
changeset: 308654:9239f0ce1acb
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Mon May 28 20:37:47 2018 +0000

description:
mk/bsd.pkg.mk: include PKGVERSION in show-all target

diffstat:

 mk/bsd.pkg.mk |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r cd87fdca55ea -r 9239f0ce1acb mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk     Mon May 28 20:18:01 2018 +0000
+++ b/mk/bsd.pkg.mk     Mon May 28 20:37:47 2018 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.pkg.mk,v 1.2030 2018/01/13 12:48:56 joerg Exp $
+#      $NetBSD: bsd.pkg.mk,v 1.2031 2018/05/28 20:37:47 rillig Exp $
 #
 # This file is in the public domain.
 #
@@ -45,6 +45,9 @@
 .endif
 PKGVERSION_NOREV=      ${PKGNAME_NOREV:C/^.*-//}
 
+_VARGROUPS+=           pkgname
+_DEF_VARS.pkgname=     PKGBASE PKGVERSION PKGNAME_NOREV PKGNAME PKGVERSION_NOREV
+
 # Fail-safe in the case of circular dependencies
 .if defined(_PKGSRC_DEPS) && defined(PKGNAME) && !empty(_PKGSRC_DEPS:M${PKGNAME})
 PKG_FAIL_REASON+=      "Circular dependency detected"



Home | Main Index | Thread Index | Old Index