Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: pkgsrc
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
>
Home |
Main Index |
Thread Index |
Old Index