Subject: Re: CVS commit: pkgsrc/fonts/xorg-fontsTruetype
To: Marc Recht <marc@geht.de>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 09/02/2004 00:36:45
On Thu, 2 Sep 2004, Marc Recht wrote:

> > I think this should be done by checking the X11ROOT and/or X11ROOT_PREFIX.
> > Just in case, some defines their X11ROOT_PREFIX to "X11" for example.
>
> In this particular case it looks like there's only a problem if ${X11BASE}
> == ${LOCALBASE} (${X11ROOT} == ${LOCALBASE}). For a  X11ROOT_PREFIX it'd
> still work, since.
>
> xorg-fontsTruetype/PLIST:${X11ROOT_PREFIX}/lib/X11/fonts/TTF/
> vera-ttf/PLIST:lib/X11/fonts/TTF/

I was thinking about conflicting with the XFree86 packages. If
X11ROOT_PREFIX is defined, I think you could have Xorg and XFree86
installed at same time (and both to same ${LOCALBASE}/${X11ROOT_PREFIX}).

> > These checks should also be done for other xorg packages too.
>
> I'm a bit unsure about this.. Do we really want (to support) ${X11BASE} ==
> ${LOCALBASE}. I didn't look, but I'm guessing this would give us a fair
> number of conflicts...

I did it some last year and the conflicts were few. Mostly was with
MesaLibs if I recall correctly. This is why I started working with
autotool's xlibs, because they easily install to ${LOCALBASE} and are
working X library alternatives (basically same code as monolithic Xorg's
libraries).

 Jeremy C. Reed

 	  	 	 BSD News, BSD tutorials, BSD links
	  	 	 http://www.bsdnewsletter.com/