pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk Support PKGPATH with "make package-name"
details: https://anonhg.NetBSD.org/pkgsrc/rev/871f3217fd58
branches: trunk
changeset: 441476:871f3217fd58
user: khorben <khorben%pkgsrc.org@localhost>
date: Wed Nov 04 16:38:59 2020 +0000
description:
Support PKGPATH with "make package-name"
Now dependencies can be listed either by package name, or path to the
package (eg with "make PACKAGE_NAME_TYPE=path build-depends-list").
Users of PACKAGE_NAME_TYPE=html could use a combination of
PACKAGE_NAME_TYPE=name and PACKAGE_NAME_TYPE=path instead now.
No objection from tech-pkg@
diffstat:
mk/bsd.pkg.readme.mk | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (18 lines):
diff -r 9f016f542b95 -r 871f3217fd58 mk/bsd.pkg.readme.mk
--- a/mk/bsd.pkg.readme.mk Wed Nov 04 16:09:40 2020 +0000
+++ b/mk/bsd.pkg.readme.mk Wed Nov 04 16:38:59 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.readme.mk,v 1.28 2014/10/09 13:50:08 wiz Exp $
+# $NetBSD: bsd.pkg.readme.mk,v 1.29 2020/11/04 16:38:59 khorben Exp $
#
# This Makefile fragment is included by bsd.pkg.mk and encapsulates the
# code to produce README.html files in each package directory.
@@ -42,6 +42,8 @@
package-name:
. if (${PACKAGE_NAME_TYPE} == "html")
@${ECHO} ${_HTML_PKGLINK:Q}
+. elif (${PACKAGE_NAME_TYPE} == "path")
+ @${ECHO} ${PKGPATH}
. else
@${ECHO} ${PKGNAME}
. endif # PACKAGE_NAME_TYPE
Home |
Main Index |
Thread Index |
Old Index