Simplifying life with and ports dependencies

Conrad J. Sabatier conrads at
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/ 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....
LIB_DEPENDS+=   X11.6:${PORTSDIR}/x11/XFree86
LIB_DEPENDS+=   X11.6:${PORTSDIR}/x11/XFree86-4-libraries
# Add explicit X options to avoid problems with false positives in
.if defined(GNU_CONFIGURE)

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> -- "In Unix veritas"

More information about the freebsd-ports mailing list