Date: Sun, 15 Jul 2012 23:17:43 +0100 From: Anton Shterenlikht <mexas@bristol.ac.uk> To: Eitan Adler <lists@eitanadler.com> Cc: freebsd-questions@freebsd.org Subject: Re: where is LOCALBASE actually defined? Message-ID: <20120715221743.GA26377@mech-cluster241.men.bris.ac.uk> In-Reply-To: <CAF6rxg=v_X_p1d%2BoRcZDQbP9Y_fwTk_uU-hnHsCkeFCFdVecJA@mail.gmail.com> References: <20120715214758.GA26300@mech-cluster241.men.bris.ac.uk> <CAF6rxg=v_X_p1d%2BoRcZDQbP9Y_fwTk_uU-hnHsCkeFCFdVecJA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jul 15, 2012 at 03:06:14PM -0700, Eitan Adler wrote: > On 15 July 2012 14:47, Anton Shterenlikht <mexas@bristol.ac.uk> wrote: > > $ cat Makefile > > all: > > echo $(LOCALBASE) > > $ > > $ make > > echo > > easier way to test is "make -V LOCALBASE" > > > What do I need to do to use LOCALBASE > > in my makefiles? > > You need to include "bsd.port.mk" (found in /usr/ports/Mk) I though LOCALBASE has meaning outside of the ports system too. Clearly I was wrong. So, if I happen not to have the ports tree, I cannot use LOCALBASE in my makefiles, right? -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120715221743.GA26377>