Subject: Re: CVS commit: pkgsrc
To: Greg A. Woods <woods@weird.com>
From: Dave Sainty <dave@dtsp.co.nz>
List: source-changes
Date: 07/01/2000 13:23:49
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