Subject: Re: graphics/xpm and xorg interaction
To: None <tech-pkg@netbsd.org>
From: None <joerg@britannica.bec.de>
List: tech-pkg
Date: 07/09/2006 13:37:01
On Fri, Jul 07, 2006 at 08:17:36PM -0700, reed@reedmedia.net wrote:
> On Sun, 2 Jul 2006, joerg@britannica.bec.de wrote:
> 
> > Hi all,
> > the last dependency scan on a not empty tree showed a nasty depdency
> > problem. graphics/xpm does not picked up as dependency depending on
> > whether xorg-libs is already installed or not. This is bad and should be
> > fixed.
> > 
> > The best approach is possibly to handle the X11_TYPE=xorg explicit in
> > builtin.mk and depend on xorg-libs in that case, but it will also change
> > a number of dependencies.
> 
> Do you have an example of some package that uses xpm from xorg-libs that 
> doesn't depend on xorg-libs?

The problem is that the dependency list changes depending on whether
xorg-libs is installed before graphics/xpm/buildlink3.mk is run. This
can happen for most X11 programs.

> They could be fixed to include the x11.buildlink3.mk (in addition to just 
> xpm).

This doesn't fix the situation. The dependency list of the program gets
altered depending on whether you run a single install-depends or install
them by hand first and run the depedency procession afterwards. That's
evil.

Joerg