NOPORTDOCS ignored on command line
Wesley Shields
wxs at FreeBSD.org
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
>
> $ make -DNOPORTDOCS
>
> 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
all:
.if defined(NOPORTDOCS)
@echo "defined"
.else
@echo "not defined"
.endif
wxs at rst wxs % make
not defined
wxs at rst wxs % make -DNOPORTDOCS
defined
wxs at rst wxs %
It works exactly how it should.
-- WXS
More information about the freebsd-ports
mailing list