summaryrefslogtreecommitdiff
path: root/doc/guide
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2014-12-06 23:28:18 +0000
committeragc <agc@pkgsrc.org>2014-12-06 23:28:18 +0000
commitc5ee7f7414ca9764ef7501ae73a369cfeca70054 (patch)
treee86ab408005cca44835c5061c73c1f0abc353165 /doc/guide
parent2da5abae393e55cdb61298391e2a9717fad51811 (diff)
downloadpkgsrc-c5ee7f7414ca9764ef7501ae73a369cfeca70054.tar.gz
Add a new definition, PKGSRC_KEEP_BIN_PKGS, which defaults to "no".
This definition controls whether the binary package which is built during package installation will be copied to pkgsrc/packages/All. To retain binary packages in pkgsrc/packages/All, set PKGSRC_KEEP_BIN_PKGS=yes in environment or MAKECONF. If this is not set, binary packages will not be preserved after their WRKDIR is removed. This may not be what you want. To preserve the status quo since 2013/05/22, and just delete the binary package after it's built, the default for PKGSRC_KEEP_BIN_PKGS is "no", or it can be explicitly set. As reviewed on tech-pkg.
Diffstat (limited to 'doc/guide')
-rw-r--r--doc/guide/files/configuring.xml7
1 files changed, 5 insertions, 2 deletions
diff --git a/doc/guide/files/configuring.xml b/doc/guide/files/configuring.xml
index 8a3cba9c265..576189fedd8 100644
--- a/doc/guide/files/configuring.xml
+++ b/doc/guide/files/configuring.xml
@@ -1,4 +1,4 @@
-<!-- $NetBSD: configuring.xml,v 1.44 2014/05/16 03:16:40 obache Exp $ -->
+<!-- $NetBSD: configuring.xml,v 1.45 2014/12/06 23:28:18 agc Exp $ -->
<chapter id="configuring">
<title>Configuring pkgsrc</title>
@@ -125,7 +125,10 @@ works.</para>
By default, dependencies are only installed, and no binary
package is created for them. You can set this variable to
<literal>package-install</literal> to automatically create binary
- packages after installing dependencies.</para>
+ packages after installing dependencies. Please note that the
+ <varname>PKGSRC_KEEP_BIN_PKGS</varname>can be set to
+ <literal>yes</literal> to preserve binary packages when
+ using the <literal>install</literal> as well.</para>
</listitem>
<!-- DISTDIR -->