Simplifying life with X.org and ports dependencies
Conrad J. Sabatier
conrads at cox.net
Wed Jun 30 20:06:08 PDT 2004
On 01-Jul-2004 Conrad J. Sabatier wrote:
>>
>> ALT_PKGDEP = {
>> 'x11/XFree86-4-libraries' => 'x11/xorg-libraries',
>> 'x11-fonts/XFree86-4-fontEncodings' =>
>> 'x11-fonts/xorg-fonts-encodings',
>> 'x11-fonts/XFree86-4-fontScalable' =>
>> 'x11-fonts/xorg-fonts-type1',
>> 'x11/XFree86-4-clients' => 'x11/xorg-clients',
>> }
>
> Hmmm, how odd. I just ran portupgrade on a port with one of the
> above XFree dependencies, and the alternate dependency didn't
> "take".
>
> Could there be a bug in the current version of portupgrade?
Ah, OK, I see that in /usr/ports/Mk/bsd.port.mk we have the following:
.if defined(USE_XLIB)
.if ${XFREE86_VERSION} == 3
# Don't try to build XFree86-3 even if ALWAYS_BUILD_DEPENDS is defined
--
# it's just too big....
.if !defined(ALWAYS_BUILD_DEPENDS)
LIB_DEPENDS+= X11.6:${PORTSDIR}/x11/XFree86
.endif
.else
LIB_DEPENDS+= X11.6:${PORTSDIR}/x11/XFree86-4-libraries
.endif
# Add explicit X options to avoid problems with false positives in
configure
.if defined(GNU_CONFIGURE)
CONFIGURE_ARGS+=--x-libraries=${X11BASE}/lib
--x-includes=${X11BASE}/include
.endif
.endif
Looks like we need a new VARIABLE or something to indicate which X we
want to work with.
Is this issue currently being addressed? Is it likely to be resolved
sometime soon?
--
Conrad J. Sabatier <conrads at cox.net> -- "In Unix veritas"
More information about the freebsd-ports
mailing list