- pass an argument for the file into which we want to save the result, to
avoid getting it polluted with error messages (defaults to /dev/stdout for
debug).
- create the makefile fragment as a temp file and only copy it when complete.
- copy it in one chunk, so that one can read a partial mirror-maker file
and have it be usable.
This does allow for people to start a make mirror-maker in one shell, and
start fetching stuff right away, before mirror-maker is finished.
This also produces usable mirror-maker Makefiles even if the ports tree
contains bogus entries.
error.
Do the real erroring out through a fatal error in pkgpath.mk (and set
PKGPATH to something less confusing than an empty variable). This
solves PR 5510 for real.
dependency, but only the ones actually required.
If we end up needing to rebuild them from source, then change back
to _internal-package-only, so that we benefit from the whole build
and get all packages again.
we can compute it first, and only start pkg_create if it didn't error
out.
This gets rid of the very verbose and confusing error messages
pkg_create meets when the ports tree cannot solve some dependencies.
Do port-lib-depends-check in two steps: first generate a list of
binary: lib1,lib2,lib3
in WRKINST/.saved_libs
then run check-lib-depends on it.
Speeds up tweaks to WANTLIB quite a lot, as we do not rescan every
binary all the time...
- no longer any needed to put haslib and needlib together, since we
create it independently.
- replace the tests for opt_f by a distinct Recorder object, that either
keeps all binary names, or just some (bonus: this should allow us to
store the information the other way around).
- remove extra $db parameter which no longer servers any purpose.
Comment a few data structure.