Skip to main content.

2003-Nov-26

XFree86-libs conflicts with MesaLibs, Xrender and render packages. It chicken-and-egg problem.

So I started importing xlibs software from the freedesktop.org X Libraries and Protocol Headers Project to pkgsrc-wip. Juan RP then started to import a lot more :)

I have a problem ... I noticed earlier this week and again today that when LOCALBASE=/usr and X11BASE is LOCALBASE, I end up with two directories: work/.buildlink and work/.buildlink-x11 that have different contents.

How does bsd.buildlink2.mk figure out when to make a work/.buildlink-x11 directory?

Especially since this package and its dependencies don't use USE_IMAKE or USE_X11 or USE_X11BASE. I guess it sees the include/X11/ directory being buildlinked and assumes that (probably wrong).

On a different box, using LOCALBASE=/usr/pkg and X11BASE as /usr/X11R6, with same package, I only have one work/.buildlink directory.

And then the sed expressions end up getting rid of all my -I includes.

I am not sure where to track this down.

I don't know (yet) if this is because LOCALBASE=/usr or if it just is X11BASE is LOCALBASE or if it is the combination of these two.

I have been using LOCALBASE=/usr on several machines for hundreds of packages for over 14 months now.

I have just begun using X11BASE as LOCALBASE this week. It has been very successful! Running X applications without any /usr/X11R6.