pkgsrc-Changes-HG archive

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

[.joined/pkgsrc/trunk]: .joined/pkgsrc/mk mk/license: make guess-license more...



details:   https://anonhg.NetBSD.org/.joined/pkgsrc/rev/b5c22c7d91da
branches:  trunk
changeset: 370878:b5c22c7d91da
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sat Jan 01 13:55:48 2022 +0000

description:
mk/license: make guess-license more user-friendly

diffstat:

 mk/license.mk |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 5b3f056f15bc -r b5c22c7d91da mk/license.mk
--- a/mk/license.mk     Sat Jan 01 13:27:46 2022 +0000
+++ b/mk/license.mk     Sat Jan 01 13:55:48 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: license.mk,v 1.109 2021/04/03 15:30:39 gdt Exp $
+# $NetBSD: license.mk,v 1.110 2022/01/01 13:55:48 rillig Exp $
 #
 # This file handles everything about the LICENSE variable. It is
 # included automatically by bsd.pkg.mk.
@@ -281,7 +281,10 @@
 
        ${RUN} \
        \
-       type ninka > /dev/null 2>&1 || ${FAIL_MSG} "To guess the license, devel/ninka must be installed."; \
+       type ninka > /dev/null 2>&1 || { \
+               ${ERROR_MSG} "To guess the license, devel/ninka must be installed."; \
+               ${FAIL_MSG} "Run '(cd ../../devel/ninka && ${MAKE} install)' to install it."; \
+       }; \
        \
        ${PHASE_MSG} "Guessing licenses for ${PKGNAME}"; \
        \



Home | Main Index | Thread Index | Old Index