Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Sep 2009 16:23:17 -0400
From:      Wesley Shields <wxs@FreeBSD.org>
To:        Christian Weisgerber <naddy@mips.inka.de>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: NOPORTDOCS ignored on command line
Message-ID:  <20090916202317.GB91963@atarininja.org>
In-Reply-To: <h8r9gb$29j3$1@lorvorc.mips.inka.de>
References:  <h8r9gb$29j3$1@lorvorc.mips.inka.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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@rst wxs % cat Makefile 
all:
.if defined(NOPORTDOCS)
	@echo "defined"
.else
	@echo "not defined"
.endif
wxs@rst wxs % make
not defined
wxs@rst wxs % make -DNOPORTDOCS
defined
wxs@rst wxs % 

It works exactly how it should.

-- WXS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090916202317.GB91963>