Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jul 2000 11:49:30 +0300
From:      Maxim Sobolev <sobomax@FreeBSD.org>
To:        Satoshi Asami <asami@FreeBSD.org>
Cc:        ports@FreeBSD.org
Subject:   Re: XFree86-3/4
Message-ID:  <396ED41A.ABB92E55@FreeBSD.org>
References:  <200007140720.AAA85016@silvia.hip.berkeley.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Satoshi Asami wrote:

> Howdy,
>
> What do people think about this patch to switch between XFree86-3.x
> and 4.x?  Basically XFREE86_VERSION, which defaults to 3 now, can be
> switched to 4 when people want to switch over.  The default in
> bsd.port.mk will change when we deem XFree86-4 ready for prime time
> (at least the non-server parts -- those with cards that are only
> supported with XFree86-3 always have the xtt-* servers to fall back
> to).
>
> We obviously need to change all the LIB_DEPENDS to xpm, etc., to the
> USE_* format as can be seen below.  Oh, and I need to make a new mtree
> file.
>
> If this is ok, I'll commit this (by default, it should be a no-op for
> now) and accompanying USE_* and mtree file changes.

Good point. Also this would benefit XFree version dependent ports (e.g. utah-glx, Mesa etc).

As an extension of your idea I propose to add small script being installed along with XFree
port, which would tell version of XFree (something like [gnome,gtk,xml]-config, i.e.:

$ /usr/X11R6/bin/xfree-config --version
3360

Then at least the people which installing Xfree from ports would be saved from the need to
adjust /etc/make.conf. Those who opt to install pre-built packages from XFree86.org could use
your method by explicitly specifying XFree version in make.conf.

-Maxim
P.S. Also please considering to make XFREE86_VERSION to be 4-digit number (i.e. 3360, 4010
etc), so we the ports will have a chance to distinguish between minor revisions it the need
arises.



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?396ED41A.ABB92E55>