From owner-freebsd-ports@FreeBSD.ORG Wed Sep 16 20:23:18 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 652441065693 for ; Wed, 16 Sep 2009 20:23:18 +0000 (UTC) (envelope-from wxs@atarininja.org) Received: from syn.atarininja.org (syn.csh.rit.edu [129.21.60.158]) by mx1.freebsd.org (Postfix) with ESMTP id 42C168FC1D for ; Wed, 16 Sep 2009 20:23:18 +0000 (UTC) Received: by syn.atarininja.org (Postfix, from userid 1001) id 62FF15C34; Wed, 16 Sep 2009 16:23:17 -0400 (EDT) Date: Wed, 16 Sep 2009 16:23:17 -0400 From: Wesley Shields To: Christian Weisgerber Message-ID: <20090916202317.GB91963@atarininja.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-ports@freebsd.org Subject: Re: NOPORTDOCS ignored on command line X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Sep 2009 20:23:18 -0000 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