USE_X_PREFIX

Joe Marcus Clarke marcus at marcuscom.com
Fri Apr 16 17:35:34 PDT 2004


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.

Joe

> 
> Kris
-- 
PGP Key : http://www.marcuscom.com/pgp.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-x11/attachments/20040416/7caef26f/attachment.bin


More information about the freebsd-x11 mailing list