On Sun, Jun 12, 2011 at 11:03:10AM -0500, Marco Peereboom wrote:
> On Sun, Jun 12, 2011 at 08:56:58AM -0700, Barbier, Jason wrote:
> > He says the source is not needed just the xenocara directory.
> >  On Jun 12, 2011 5:33 AM, "Stuart Henderson" <[email protected]> wrote:
> > > On 2011-06-11, Marco Peereboom <[email protected]> wrote:
> > >> Make sure you have the xenocara directory (sudo mkdir -p /usr/xenocara)
> > >> to ensure the code compiles. Source isn't needed.
> > >
> > > ugh, is there a way around this? nothing else in the ports
> > > tree needs xenocara source.
> 
> Right.
> 
This is because  you're (ab)using bsd.xorg.mk and the _xenocara_obj
target to do make obj there does a cd ${XSRCDIR}; `pwd` to figure out
the correct path to XSRCDIR, like obj in bsd.obj.mk does for
BSDSRCDIR. 

If there's a better way to achieve this, both in bsd.obj.mk and
bsd.xorg.mk, then I'll be happy to patch bsd.xorg.mk.

More generally /usr/share/mk/*.mk lacked enough configurability to
handle X libs and application builds, so I had to duplicate and modify
stuff from  /usr/share/mk/bsd.*.mk in bsd.xorg.mk. It would be nice if
someone with make skill could try to merge those back at some
point....

-- 
Matthieu Herrb

Reply via email to