NOPORTDOCS ignored on command line

Wesley Shields wxs at
Wed Sep 16 20:23:18 UTC 2009

On Wed, Sep 16, 2009 at 06:07:07PM +0000, Christian Weisgerber wrote:
> Unless I misremember, it used to be possible to specify NOPORTDOCS on
> the command line
> or in the environment
> $ env NOPORTDOCS=yes make
> when building and installing a port.  This doesn't work any longer,
> you now have to set it in /etc/make.conf, otherwise it won't be
> picked up.
> Is this intentional?

Are you seeing any particular problem on any particular port?

wxs at rst wxs % cat Makefile 
.if defined(NOPORTDOCS)
	@echo "defined"
	@echo "not defined"
wxs at rst wxs % make
not defined
wxs at rst wxs % make -DNOPORTDOCS
wxs at rst wxs % 

It works exactly how it should.

-- WXS

More information about the freebsd-ports mailing list