summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjlam <jlam>2003-09-08 01:13:02 +0000
committerjlam <jlam>2003-09-08 01:13:02 +0000
commit55a9e4e52f568ed7f397b7459a4efbf1ee522d1b (patch)
treed4210a0a85652a467718e6df62dc58edcdeb0123 /mk
parent58af56c6496b6eb4ca80be09d0d90bf8c0d0e83b (diff)
downloadpkgsrc-55a9e4e52f568ed7f397b7459a4efbf1ee522d1b.tar.gz
Allow BUILD_VIEWS to be "yes" or "YES".
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 4f6ee732a50..d804256d77f 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -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 @@ fake-pkg: ${PLIST} ${DESCR} ${MESSAGE}
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