summaryrefslogtreecommitdiff
path: root/mk/configure
diff options
context:
space:
mode:
authorrillig <rillig>2007-03-15 22:54:24 +0000
committerrillig <rillig>2007-03-15 22:54:24 +0000
commitefcaabd81b47e2a80d71e51f546db00372c12d66 (patch)
tree2a6ccf38a6091b29f21c0fce92183621b136e1f9 /mk/configure
parent5c0c8af41749b510aa8eab73465be92a679845e6 (diff)
downloadpkgsrc-efcaabd81b47e2a80d71e51f546db00372c12d66.tar.gz
For all those who are interested in the inner workings of pkgsrc, there
is a new target "show-all" that fits to the existing "debug", "show-tools", "show-vars" targets. It prints a list of the variables that make up the public interface to pkgsrc. Running this target is especially useful if you want to do some things, you know that they must have been implemented but you don't know what it is called. It also shows the "class" of a variable (user-defined, package-defined, system-defined).
Diffstat (limited to 'mk/configure')
-rw-r--r--mk/configure/configure.mk8
-rw-r--r--mk/configure/gnu-configure.mk9
2 files changed, 15 insertions, 2 deletions
diff --git a/mk/configure/configure.mk b/mk/configure/configure.mk
index 48364f2b907..4166ba62f7e 100644
--- a/mk/configure/configure.mk
+++ b/mk/configure/configure.mk
@@ -1,4 +1,4 @@
-# $NetBSD: configure.mk,v 1.16 2007/03/15 11:20:40 rillig Exp $
+# $NetBSD: configure.mk,v 1.17 2007/03/15 22:54:24 rillig Exp $
#
# = Package-settable variables =
#
@@ -34,6 +34,12 @@
# Keywords: config.guess config.sub
#
+_VARGROUPS+= configure
+_USER_VARS.configure= CONFIG_SHELL_FLAGS
+_PKG_VARS.configure= CONFIGURE_ENV CONFIG_SHELL CONFIGURE_SCRIPT \
+ CONFIGURE_ARGS OVERRIDE_GNU_CONFIG_SCRIPTS HAS_CONFIGURE \
+ GNU_CONFIGURE PKGCONFIG_OVERRIDE USE_PKGLOCALEDIR
+
CONFIGURE_SCRIPT?= ./configure
CONFIGURE_ENV+= ${ALL_ENV}
CONFIGURE_ARGS?= # empty
diff --git a/mk/configure/gnu-configure.mk b/mk/configure/gnu-configure.mk
index 1af69305ba3..a38eb063045 100644
--- a/mk/configure/gnu-configure.mk
+++ b/mk/configure/gnu-configure.mk
@@ -1,4 +1,11 @@
-# $NetBSD: gnu-configure.mk,v 1.2 2007/03/15 11:20:40 rillig Exp $
+# $NetBSD: gnu-configure.mk,v 1.3 2007/03/15 22:54:24 rillig Exp $
+
+_VARGROUPS+= gnu-configure
+_USER_VARS.gnu-configure= # none
+_PKG_VARS.gnu-configure= GNU_CONFIGURE GNU_CONFIGURE_PREFIX \
+ GNU_CONFIGURE_INFODIR GNU_CONFIGURE_MANDIR \
+ CONFIGURE_HAS_MANDIR CONFIGURE_HAS_INFODIR \
+ USE_GNU_CONFIGURE_HOST
HAS_CONFIGURE= defined
OVERRIDE_GNU_CONFIG_SCRIPTS= defined