From owner-svn-ports-all@FreeBSD.ORG Thu Apr 9 16:39:08 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1033) id 2A7F5E8C; Thu, 9 Apr 2015 16:39:08 +0000 (UTC) Date: Thu, 9 Apr 2015 16:39:08 +0000 From: Alexey Dokuchaev To: Bryan Drewery Subject: Re: svn commit: r383191 - head/Mk Message-ID: <20150409163908.GA61577@FreeBSD.org> References: <201504040535.t345ZJ9M028396@svn.freebsd.org> <20150408194202.GA45809@hades.panopticon> <5526A9BC.8010208@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5526A9BC.8010208@FreeBSD.org> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, Dmitry Marakasov , ports-committers@freebsd.org X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Apr 2015 16:39:08 -0000 On Thu, Apr 09, 2015 at 11:33:00AM -0500, Bryan Drewery wrote: > On 4/8/2015 2:42 PM, Dmitry Marakasov wrote: > > This breaks countless usecases when port is build which does not belong > > to the ports tree. Afaik, we have that information in ports - based on > > that PORTSDIR is chosen. The same mechanism should be used here to > > conditionally enable the check. > > Please try this patch: > > http://people.freebsd.org/~bdrewery/patches/sanity-category-out-of-tree.mk With it applied, I can now do this again (as before): $ cp -a /usr/ports/cat/port /tmp $ cd /tmp/port $ make # all OK ./danfe