cvs commit: ports/Mk bsd.port.mk

Florent Thoumie flz at FreeBSD.org
Mon May 21 12:56:55 UTC 2007


Dag-Erling Smørgrav wrote:
> Florent Thoumie <flz at FreeBSD.org> writes:
> 
>> flz         2007-05-21 10:21:39 UTC
>>
>>   FreeBSD ports repository
>>
>>   Modified files:
>>     Mk                   bsd.port.mk 
>>   Log:
>>   Fix USE_XLIB to depend on stub file rather than libX11.
> 
> Is this intended as a permanent solution?  I realize that having
> USE_XLIB the way it is allows us to support both X.org and XFree86, but
> I would much prefer to see USE_XLIB replaced with something similar to
> USE_XORG, explicitly listing the required libraries.  For instance, the
> line
> 
> USE_XLIB = X11 Xau Xext Xmu
> 
> could, in the XFree86 case, expand to
> 
> LIB_DEPENDS = X11.6:${PORTSDIR}/x11/XFree86-4-libraries \
>               Xau.0:${PORTSDIR}/x11/XFree86-4-libraries \
>               Xext.6:${PORTSDIR}/x11/XFree86-4-libraries \
>               Xmu.6:${PORTSDIR}/x11/XFree86-4-libraries \
> 
> which, while redundant, would work fine.

No this is not permanent. Once we removed XFree86-4, we'll start
removing USE_XLIB in favor of USE_XORG.

We'll send a mail about XFree86-4 deprecation in a few weeks, once the
dust has settled.

I don't think it's worth changing USE_XLIB semantics now if we're going
to remove it in a few months, but feel free to do it if you want.

-- 
Florent Thoumie
flz at FreeBSD.org
FreeBSD Committer

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/cvs-all/attachments/20070521/eff13dba/signature.pgp


More information about the cvs-all mailing list