pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk mk/pkg-build-options.mk: make the documentation mor...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6e3db889c710
branches:  trunk
changeset: 412989:6e3db889c710
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sat Mar 14 10:32:30 2020 +0000

description:
mk/pkg-build-options.mk: make the documentation more precise

diffstat:

 mk/pkg-build-options.mk |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 59c6adf4eaea -r 6e3db889c710 mk/pkg-build-options.mk
--- a/mk/pkg-build-options.mk   Sat Mar 14 10:21:53 2020 +0000
+++ b/mk/pkg-build-options.mk   Sat Mar 14 10:32:30 2020 +0000
@@ -1,18 +1,20 @@
-# $NetBSD: pkg-build-options.mk,v 1.12 2017/03/08 16:16:40 jperkin Exp $
+# $NetBSD: pkg-build-options.mk,v 1.13 2020/03/14 10:32:30 rillig Exp $
 #
 # This procedure determines the PKG_OPTIONS that have been in effect
 # when the package ${pkgbase} has been built. When the package is not
-# yet installed, the current PKG_OPTIONS are queried.
+# yet installed, its current PKG_OPTIONS are queried.
 #
 # Parameters:
 #      pkgbase
-#              The basename of the package.
+#              The package identifier, as in the package's buildlink3.mk
+#              file.
 #
 # Returns:
 #      PKG_BUILD_OPTIONS.${pkgbase}
 #              The build options of the package.
 #
 # Example:
+#      .include "../../emulators/wine/buildlink3.mk"
 #      pkgbase := wine
 #      .include "../../mk/pkg-build-options.mk"
 #



Home | Main Index | Thread Index | Old Index