From owner-freebsd-ports@FreeBSD.ORG Fri May 29 16:27:02 2009 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 27A5F1065674 for ; Fri, 29 May 2009 16:27:02 +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 04D518FC13 for ; Fri, 29 May 2009 16:27:02 +0000 (UTC) (envelope-from wxs@atarininja.org) Received: by syn.atarininja.org (Postfix, from userid 1001) id 6158B5C3A; Fri, 29 May 2009 12:27:01 -0400 (EDT) Date: Fri, 29 May 2009 12:27:01 -0400 From: Wesley Shields To: Robert Huff Message-ID: <20090529162701.GF78298@atarininja.org> References: <18976.1953.302759.600570@jerusalem.litteratus.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <18976.1953.302759.600570@jerusalem.litteratus.org> User-Agent: Mutt/1.5.19 (2009-01-05) Cc: ports@freebsd.org Subject: Re: finding where a make variable is set 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: Fri, 29 May 2009 16:27:02 -0000 On Fri, May 29, 2009 at 12:04:49PM -0400, Robert Huff wrote: > > Given: > > huff@>> pd /usr/ports/editors/openoffice.org-3 > /usr/ports/editors/openoffice.org-3 /var/db/pkg > huff@>> make -V CP > /bin/cp > > how do I track down where CP gets set? It isn't in the > Makefile itself; is it in /usr/share/mk/*.mk? Ports include bsd.port.(pre|post.)mk and other related files. They are included in $PORTSDIR/Mk. -- WXS