Simplifying life with X.org and ports dependencies

Conrad J. Sabatier conrads at cox.net
Thu Jul 1 11:04:01 PDT 2004


On 01-Jul-2004 Alexander Leidinger wrote:
> On Wed, 30 Jun 2004 19:27:33 -0500 (CDT)
> "Conrad J. Sabatier" <conrads at cox.net> wrote:
> 
>> >Add the following alternate dependencies list, so that the section
>> >ends up 
>> >looking like this:
>> >
>> >  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',
>> >  }
>> >
>> >Voila!  No more hassles with X dependencies!
>> 
>> 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?
> 
> Did you run "pkgdb -F"? I think it will fix those issues based upon
> ALT_PKGDEP automatically.

Yes, I've been running "pkgdb -F" after every portupgrade. 
Unfortunately, it doesn't automatically resolve these alternate
dependencies; still have to fix them manually.  :-(

-- 
Conrad J. Sabatier <conrads at cox.net> -- "In Unix veritas"


More information about the freebsd-ports mailing list