Subject: Re: CVS commit: pkgsrc
To: Dave Sainty <dave@dtsp.co.nz>
From: None <mcmahill@mtl.mit.edu>
List: source-changes
Date: 06/30/2000 22:06:43
isn't there a 'gtk-config --prefix' command that gives you the path to
gtk?


On Sat, 1 Jul 2000, Dave Sainty wrote:

> Greg A. Woods writes:
> 
> > > A good idea... and maybe at some point, I'll sort through my local changes
> > > to find all the places where I've fixed an include to use X11PREFIX (or my
> > > earlier equivalent), and send-pr them so pkgsrc can Just Work with xpkgwedge.
> > > (Not next week, though, I'll be on vacation...)
> > 
> > There are some minor changes in the .mk stuff, and some packages are
> > extremely broken in this respect, but for the most part I've been
> > reasonably happy with installing X11 stuff in LOCALBASE ever since
> > sometime last fall I think, and certainly since March or so when I came
> > back to -current again and was forced to re-install a lot of stuff....
> 
> But what about when you change from X11BASE to LOCALBASE?
> 
> Shouldn't:
> 
> CONFIGURE_ARGS+=        --with-gtk-prefix=${X11BASE}
> 
> ... actually use the base that was used for the gtk package, not
> assume one or the other (X11/LOCAL)?
> 
> pkg_info -pq gtk\*|sed -e 's/@cwd //'
> /usr/X11R6
> 
> I don't submit this implementation as anything other than a proof of
> concept :)
> 
> CONFIGURE_ARGS+= --with-gtk-prefix=`pkg_info -pq gtk\*|sed -e 's/@cwd //'`
> 
> Cheers,
> 
> Dave
>