pkgsrc-Changes archive

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

CVS commit: pkgsrc/mk/help



Module Name:    pkgsrc
Committed By:   rillig
Date:           Fri Nov  9 07:03:37 UTC 2018

Modified Files:
        pkgsrc/mk/help: env.help

Log Message:
mk/help: update information about environment variables like MAKE_ENV


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/mk/help/env.help

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/mk/help/env.help
diff -u pkgsrc/mk/help/env.help:1.2 pkgsrc/mk/help/env.help:1.3
--- pkgsrc/mk/help/env.help:1.2 Wed Sep 29 11:40:43 2010
+++ pkgsrc/mk/help/env.help     Fri Nov  9 07:03:37 2018
@@ -1,43 +1,50 @@
-# $NetBSD: env.help,v 1.2 2010/09/29 11:40:43 obache Exp $
+# $NetBSD: env.help,v 1.3 2018/11/09 07:03:37 rillig Exp $
 #
 # This file describes the *_ENV variables, where they are defined and
 # where they are used.
 #
-# In general, all environments should be ordered from general to specific
-# ones. That is, first comes the BARRIER_ENV, then the MAKE_ENV, then the
-# MAKE_BUILD_ENV.
-#
-# Additionally, the package should be able to override all settings from
-# the infrastructure. That means that the package-settable variables
-# must appear behind the system-defined ones.
-#
-
-# XXX: I'm missing BARRIER_ENV or something like that.
-
-# XXX: The do-* targets are not run with ALL_ENV (or better:
-# BARRIER_ENV) in effect.
-
-#
-# Common environments.
+# See regress/env-vars.
 #
 
 # PKGSRC_MAKE_ENV
+#      The variables mentioned in this environment are passed to all
+#      recursive calls of the pkgsrc make. From there, they will also
+#      be available to configure files or the Makefiles from inside the
+#      package.
 #
 
+# EXTRACT_ENV
+#      The variables mentioned in this environment are passed to the
+#      default extract command, together with many other environment
+#      variables from the pkgsrc infrastructure.
+#
+#      If a package defines its own extract command, it doesn't have
+#      access to this full environment, but only to the EXTRACT_ENV
+#      part alone.
+
 # ALL_ENV
 #      This is the basic environment for the configure, build and install
-#      phases. It can be overridden by CONFIGURE_ENV and MAKE_ENV.
+#      phases. Definitions from this environment can be overridden by
+#      appending to CONFIGURE_ENV and MAKE_ENV.
 #
 
-#
-# Environments for individual phases.
-#
-
-# EXTRACT_ENV
-
 # CONFIGURE_ENV
+#      The variables mentioned in this environment are passed to the
+#      default configure commands. They can be overridden by appending
+#      to ALL_ENV.
+#
+#      If a package defines its own configure commands, these commands
+#      don't have access to this full environment, but only to the
+#      CONFIGURE_ENV part alone.
 
 # MAKE_ENV
+#      The variables mentioned in this environment are passed to the
+#      default build commands. They can be overridden by appending
+#      to ALL_ENV.
+#
+#      If a package defines its own build commands, these commands
+#      don't have access to this full environment, but only to the
+#      MAKE_ENV part alone.
 
 # BSD_MAKE_ENV
 #      This environment can be appended to MAKE_ENV by a package to
@@ -49,13 +56,13 @@
 #
 
 # INSTALL_ENV
+#      The variables mentioned in this environment are passed to the
+#      default install commands. They can be overridden by appending
+#      to ALL_ENV.
+#
+#      If a package defines its own build commands, these commands
+#      don't have access to this full environment, but only to the
+#      MAKE_ENV part alone.
 #      This environment is prepended to MAKE_ENV in the install phase.
-#      XXX: Shouldn't this be _ap_pended?
-
-#
-# Other environments.
-#
-
-# INSTALL_SCRIPTS_ENV
-#      TODO
 #
+#      XXX: Shouldn't this be _ap_pended?



Home | Main Index | Thread Index | Old Index