pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk Accept _AUTOMATIC=yes.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a1c1dc20660b
branches:  trunk
changeset: 393749:a1c1dc20660b
user:      obache <obache%pkgsrc.org@localhost>
date:      Tue May 26 06:03:02 2009 +0000

description:
Accept _AUTOMATIC=yes.
At least, set as "yes" in mk/flavor/pkg/depends.mk,
and accept both "YES" and "yes" in flavor/pkg/install.mk.

Fixes PR 41422.

diffstat:

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

diffs (18 lines):

diff -r 186d14003aff -r a1c1dc20660b mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk     Tue May 26 05:57:14 2009 +0000
+++ b/mk/bsd.pkg.mk     Tue May 26 06:03:02 2009 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.pkg.mk,v 1.1956 2009/04/09 00:51:23 joerg Exp $
+#      $NetBSD: bsd.pkg.mk,v 1.1957 2009/05/26 06:03:02 obache Exp $
 #
 # This file is in the public domain.
 #
@@ -651,7 +651,7 @@
 PKG_ARGS_ADD=          -W ${LOCALBASE} -w ${DEFAULT_VIEW}
 .endif
 _BIN_INSTALL_FLAGS=    ${BIN_INSTALL_FLAGS}
-.if defined(_AUTOMATIC) && !empty(_AUTOMATIC:MYES)
+.if defined(_AUTOMATIC) && !empty(_AUTOMATIC:M[Yy][Ee][Ss])
 _BIN_INSTALL_FLAGS+=   -A
 .endif
 _BIN_INSTALL_FLAGS+=   ${PKG_ARGS_ADD}



Home | Main Index | Thread Index | Old Index