Update documentation to mention PKGSRC_KEEP_BIN_PKGS, and remove now

stale information of DEPENDS_TARGET.

Heads up by Dean Matzkov in PR pkg/52708.
This commit is contained in:
maya 2018-09-18 02:58:05 +00:00
parent d0e2e3079f
commit 9561d35694

View file

@ -1422,18 +1422,15 @@ mk.conf, together with some comments that describe each variable's intent.
Makefile. If this is not set, MAKECONF is set to /dev/null to avoid picking
up settings used by builds in /usr/src.
* DEPENDS_TARGET: By default, dependencies are only installed, and no binary
package is created for them. You can set this variable to package-install
to automatically create binary packages after installing dependencies.
Please note that the PKGSRC_KEEP_BIN_PKGS can be set to yes to preserve
binary packages when using the install as well.
5.3. Variables affecting the installation process
Packages have to support installation into a subdirectory of WRKDIR. This
allows a package to be built, before the actual filesystem is touched. DESTDIR
support exists in two variations:
* PKGSRC_KEEP_BIN_PKGS: By default, binary packages of packages are preserved
in ${PACKAGES}/All. Setting this to "no" prevents this.
* Basic DESTDIR support means that the package installation and packaging is
still run as root.