pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk Update the wording a bit when a license is not acce...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d1d8bfe30000
branches:  trunk
changeset: 481304:d1d8bfe30000
user:      hubertf <hubertf%pkgsrc.org@localhost>
date:      Fri Oct 01 00:23:18 2004 +0000

description:
Update the wording a bit when a license is not accepted, to better
indicate the proper process: first read the license, then accept,
and indicate so in /etc/mk.conf:

        yui% make
        ===> graphviz-1.12 has an unacceptable license: graphviz-license.
        ===>     To view the license, enter "/usr/bin/make show-license".
        ===>     To indicate acceptance, add this line to your /etc/mk.conf:
        ===>     ACCEPTABLE_LICENSES+=graphviz-license
        *** Error code 1

diffstat:

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

diffs (22 lines):

diff -r 157f38f81257 -r d1d8bfe30000 mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk     Fri Oct 01 00:09:16 2004 +0000
+++ b/mk/bsd.pkg.mk     Fri Oct 01 00:23:18 2004 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.pkg.mk,v 1.1503 2004/09/27 19:37:36 tv Exp $
+#      $NetBSD: bsd.pkg.mk,v 1.1504 2004/10/01 00:23:18 hubertf Exp $
 #
 # This file is in the public domain.
 #
@@ -1304,9 +1304,9 @@
 .    endif     # ACCEPTABLE_LICENSES
 .    ifndef _ACCEPTABLE
 PKG_FAIL_REASON+= "${PKGNAME} has an unacceptable license: ${LICENSE}." \
-        "    To build this package, add this line to your /etc/mk.conf:" \
-        "    ACCEPTABLE_LICENSES+=${LICENSE}" \
-        "    To view the license, enter \"${MAKE} show-license\"."
+        "    To view the license, enter \"${MAKE} show-license\"." \
+        "    To indicate acceptance, add this line to your /etc/mk.conf:" \
+        "    ACCEPTABLE_LICENSES+=${LICENSE}"
 .    endif     # _ACCEPTABLE
 .  endif       # LICENSE
 



Home | Main Index | Thread Index | Old Index