summaryrefslogtreecommitdiff
path: root/mk/bsd.pkg.mk
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-08-05 02:10:20 +0000
committerjlam <jlam@pkgsrc.org>2004-08-05 02:10:20 +0000
commit8810d2a8dd6e233e1d09279a8ef59a1ff6499b9a (patch)
tree01bfd4f835c006eb3099d47dd0abb09213a7e687 /mk/bsd.pkg.mk
parentf7c1751652fb138f45c857de343eab18c92c3056 (diff)
downloadpkgsrc-8810d2a8dd6e233e1d09279a8ef59a1ff6499b9a.tar.gz
Move addition of PKG_OPTIONS to BUILD_DEFS below the definition of the
build-defs-message target so that PKG_OPTIONS doesn't show up as a settable variable in the displayed message.
Diffstat (limited to 'mk/bsd.pkg.mk')
-rw-r--r--mk/bsd.pkg.mk9
1 files changed, 8 insertions, 1 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 3f0d02c7c06..2d1452d9b22 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1486 2004/08/04 23:29:50 jlam Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1487 2004/08/05 02:10:20 jlam Exp $
#
# This file is in the public domain.
#
@@ -89,6 +89,13 @@ ${_var_}+= ${${_var_}.*}
. endif
.endfor
+# Store the result in the +BUILD_INFO file so we can query for the build
+# options using "pkg_info -Q PKG_OPTIONS <pkg>".
+#
+.if defined(PKG_SUPPORTED_OPTIONS) && defined(PKG_OPTIONS)
+BUILD_DEFS+= PKG_OPTIONS
+.endif
+
##### Build crypto packages by default.
MKCRYPTO?= yes