[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/52708: pkgsrc/doc/pkgsrc.txt: paragraph about *not* generating pkgs for deps is misleading
>Synopsis: pkgsrc/doc/pkgsrc.txt: paragraph about *not* generating pkgs for deps is misleading
>Arrival-Date: Wed Nov 08 23:40:00 +0000 2017
>Originator: Dean Matzkov
NetBSD localhost 7.1 NetBSD 7.1 (GENERIC.201703111743Z) amd64
The paragraph in question can be found at<https://github.com/NetBSD/pkgsrc/blob/b0108ef500d76d0e86d41f2a4c72c1bed6e716ae/doc/pkgsrc.txt#L1431>, and reads as follows:
* 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.
Based on my experience of using pkgsrc (with mk.confs that shouldn't mess with the above) on multiple platforms, pkgsrc seems to *always* put freshly-build packages into $PACKAGES, whether they're explicitly-installed or pulled-in as dependencies. So, the paragraph should be adjusted to reflect that.
And in pkgsrc/mk/default/mk.conf, there's also ``PKGSRC_KEEP_BIN_PKGS?= yes''.
``make install'' any random package in pkgsrc HEAD with an unmodified mk.conf, and check $PACKAGES for any packages that were installed as dependencies.
Show the keyboard who's boss.
Main Index |
Thread Index |