diff options
author | wiz <wiz@pkgsrc.org> | 2011-04-09 08:03:49 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2011-04-09 08:03:49 +0000 |
commit | 451f7c7535d126eb3cfcad24d9d02e09be3f3233 (patch) | |
tree | 39d53a6349e96e8449620c33bb3e5f7931bfa533 /doc/guide/files | |
parent | bbf7f32940f3fefbcae567e4a048dd2887f9f96f (diff) | |
download | pkgsrc-451f7c7535d126eb3cfcad24d9d02e09be3f3233.tar.gz |
Mention that DESTDIR is now default.
While here, convert to destdir, and use a static PLIST with PLIST_VARS
instead of find(1).
Diffstat (limited to 'doc/guide/files')
-rw-r--r-- | doc/guide/files/configuring.xml | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/doc/guide/files/configuring.xml b/doc/guide/files/configuring.xml index 6005a771329..20538e1f022 100644 --- a/doc/guide/files/configuring.xml +++ b/doc/guide/files/configuring.xml @@ -1,4 +1,4 @@ -<!-- $NetBSD: configuring.xml,v 1.37 2010/12/23 23:54:17 abs Exp $ --> +<!-- $NetBSD: configuring.xml,v 1.38 2011/04/09 08:03:49 wiz Exp $ --> <chapter id="configuring"> <title>Configuring pkgsrc</title> @@ -136,21 +136,21 @@ works.</para> <sect1 id="variables-affecting-installation"> <title>Variables affecting the installation process</title> - <para>A growing number of packages support installation into a + <para>Most packages support installation into a subdirectory of <varname>WRKDIR</varname>. This allows a package to be built, before the actual filesystem is touched. DESTDIR support exists in two variations:</para> <itemizedlist> <listitem><para>Basic DESTDIR support means that the package - installation and packaging is still run as - root.</para></listitem> - <listitem><para>Full DESTDIR support can run the complete build, - installation and packaging as normal user. Root privileges are - only needed to add packages.</para></listitem> + installation and packaging is still run as root.</para></listitem> + <listitem><para>Full DESTDIR support can run the complete + build, installation and packaging as normal user. Root + privileges are only needed to add packages.</para></listitem> </itemizedlist> - <para>To use the DESTDIR support, set - <varname>USE_DESTDIR=yes</varname> to get the full support for packages - that support it and with fallback to basic support. </para> + <para>DESTDIR support is now the default. To switch back to non-DESTDIR, + you can set + <varname>USE_DESTDIR=no</varname>; this setting will be deprecated though, + so it's preferable to convert a package to DESTDIR instead.</para> <para>DESTDIR support changes the behaviour of various targets slightly. To install a package after building it, use <literal>package-install</literal>. <literal>package</literal> and |