pkgsrc-Changes archive

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

CVS commit: pkgsrc/mk



Module Name:    pkgsrc
Committed By:   rillig
Date:           Sat Jan  1 13:55:48 UTC 2022

Modified Files:
        pkgsrc/mk: license.mk

Log Message:
mk/license: make guess-license more user-friendly


To generate a diff of this commit:
cvs rdiff -u -r1.109 -r1.110 pkgsrc/mk/license.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/mk/license.mk
diff -u pkgsrc/mk/license.mk:1.109 pkgsrc/mk/license.mk:1.110
--- pkgsrc/mk/license.mk:1.109  Sat Apr  3 15:30:39 2021
+++ pkgsrc/mk/license.mk        Sat Jan  1 13:55:48 2022
@@ -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 @@ guess-license: .PHONY
 
        ${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