Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Sep 2009 22:32:31 +0000 (UTC)
From:      naddy@mips.inka.de (Christian Weisgerber)
To:        freebsd-ports@freebsd.org
Subject:   Re: NOPORTDOCS ignored on command line
Message-ID:  <h8rp1v$23es$1@lorvorc.mips.inka.de>
References:  <h8r9gb$29j3$1@lorvorc.mips.inka.de> <20090916202317.GB91963@atarininja.org> <20090916210153.GA93138@lorvorc.mips.inka.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Christian Weisgerber <naddy@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@mips.inka.de




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?h8rp1v$23es$1>