On Sun, Jul 15, 2012 at 03:06:14PM -0700, Eitan Adler wrote:
> On 15 July 2012 14:47, Anton Shterenlikht <[email protected]> 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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[email protected]"

Reply via email to