Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Jul 2012 15:06:14 -0700
From:      Eitan Adler <lists@eitanadler.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: where is LOCALBASE actually defined?
Message-ID:  <CAF6rxg=v_X_p1d%2BoRcZDQbP9Y_fwTk_uU-hnHsCkeFCFdVecJA@mail.gmail.com>
In-Reply-To: <20120715214758.GA26300@mech-cluster241.men.bris.ac.uk>
References:  <20120715214758.GA26300@mech-cluster241.men.bris.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
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)


-- 
Eitan Adler



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAF6rxg=v_X_p1d%2BoRcZDQbP9Y_fwTk_uU-hnHsCkeFCFdVecJA>