On Friday 13 July 2007 13:58, Joerg Sonnenberger wrote: > On Fri, Jul 13, 2007 at 01:34:10PM -0400, Alexander Neundorf wrote: > > On Friday 13 July 2007 13:22, Joerg Sonnenberger wrote: > > > On Fri, Jul 13, 2007 at 12:53:49PM -0400, Alexander Neundorf wrote: > > > > > The prefix is fully user-settable and the patch ensures > > > > > that cmake works with dependencies installed via pkgsrc. > > > > > > > > Can you please explain, I know basically nothing about pkgsrc. > > > > > > What I mean is: when I build cmake to install to /some/arbitrary/path > > > via pkgsrc, I expect it to look for normal libraries in the same > > > > So would it help if cmake also checks the bin/, lib/ and include/ > > directories of its own install location ? > > This would be easy to add. > > Yes, that is basically what the patch tries when adding @PREFIX@/... > This is IMO preferable to hard-coding any non-standard locations (/usr), > /usr/local makes a lot less sense with this. If I don't install into > /usr/local, I normally wouldn't want software to scan it either.
I added this to cmake cvs. You can try it if you want to. Alex
