where is LOCALBASE actually defined?
Anton Shterenlikht
mexas at bristol.ac.uk
Sun Jul 15 22:17:46 UTC 2012
On Sun, Jul 15, 2012 at 03:06:14PM -0700, Eitan Adler wrote:
> On 15 July 2012 14:47, Anton Shterenlikht <mexas at 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
More information about the freebsd-questions
mailing list