cvs commit: ports/Mk bsd.port.mk

Dag-Erling Smørgrav des at des.no
Mon May 21 11:38:57 UTC 2007


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.

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the cvs-ports mailing list