NOPORTDOCS ignored on command line
Christian Weisgerber
naddy at mips.inka.de
Wed Sep 16 22:32:34 UTC 2009
Christian Weisgerber <naddy at freebsd.org> wrote:
> $ make -DNOPORTDOCS -V INSTALL_TARGET
> install
> $ make -DNOPORTDOCS install
> ===> Installing for xz-4.999.9
> ===> Generating temporary packing list
> ===> Checking if archivers/xz already installed
> ===> Switching to root credentials for 'install' target
> install install-dist_docDATA
> *** Error code 1
>
> Presumably bsd.port.mk invokes a recursive make for the install
> step, but fails to pass NOPORTDOCS.
Duh! It's the result of my use of sudo for SU_CMD and recent
versions of sudo no longer passing on all environment variables.
You now need to use this:
SU_CMD=sudo -E sh -c
--
Christian "naddy" Weisgerber naddy at mips.inka.de
More information about the freebsd-ports
mailing list