USE_X_PREFIX

Kris Kennaway kris at obsecurity.org
Fri Apr 16 17:38:07 PDT 2004


On Fri, Apr 16, 2004 at 08:35:27PM -0400, Joe Marcus Clarke wrote:
> On Fri, 2004-04-16 at 19:13, Kris Kennaway wrote:
> > On Fri, Apr 16, 2004 at 11:14:05AM -0400, Joe Marcus Clarke wrote:
> > 
> > > > I can do this, if there is no better solution.
> > > 
> > > This is what I've done in a few of my ports (e.g. scrollkeeper).  Of
> > > course, this may only be temporary.  If we go the fd.o route, bsd.*.mk
> > > will be adjusted to support it.
> > 
> > To be correct it should probably be
> > 
> > PREFIX?=        ${X11BASE}      # This port itself does not require Xlib
> > .if ${XFREE86_VERSION} == 3
> > MTREE_FILE=     /etc/mtree/BSD.x11.dist
> > .else
> > MTREE_FILE=     /etc/mtree/BSD.x11-4.dist
> > .endif
> 
> This is what scrollkeeper does, but I think the XFREE86_VERSION test
> needs to be done after bsd.port.pre.mk.

Yeah, I actually had that in the version I first pasted in the email,
then looked at it and decided that it probably didn't need to be there
and removed it :-)

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-x11/attachments/20040416/3276b33d/attachment.bin


More information about the freebsd-x11 mailing list