pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk Allow BUILD_VIEWS to be "yes" or "YES".



details:   https://anonhg.NetBSD.org/pkgsrc/rev/af73ddcc1cd8
branches:  trunk
changeset: 460935:af73ddcc1cd8
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Mon Sep 08 01:13:02 2003 +0000

description:
Allow BUILD_VIEWS to be "yes" or "YES".

diffstat:

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

diffs (19 lines):

diff -r 2eeb7429e20d -r af73ddcc1cd8 mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk     Mon Sep 08 01:06:01 2003 +0000
+++ b/mk/bsd.pkg.mk     Mon Sep 08 01:13:02 2003 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.pkg.mk,v 1.1264 2003/09/08 01:06:01 jlam Exp $
+#      $NetBSD: bsd.pkg.mk,v 1.1265 2003/09/08 01:13:02 jlam Exp $
 #
 # This file is in the public domain.
 #
@@ -4621,7 +4621,8 @@
                        fi;                                             \
                done ;;                                                 \
        esac
-.  if (${PKG_INSTALLATION_TYPE} == "pkgviews") && (${BUILD_VIEWS} == "yes")
+.  if (${PKG_INSTALLATION_TYPE} == "pkgviews") && \
+      !empty(BUILD_VIEWS:M[yY][eE][sS])
        ${_PKG_SILENT}${_PKG_DEBUG}${MAKE} ${MAKEFLAGS} build-views
 .  endif       # pkgviews
 .endif         # !fake-pkg



Home | Main Index | Thread Index | Old Index