pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: pkgsrc/lang/ruby193-base



On Fri, May 11, 2012 at 12:35:45AM +0900, Takahiro Kambe wrote:
> In message <20120508160854.16B35175DD%cvs.netbsd.org@localhost>
>       on Tue, 8 May 2012 16:08:54 +0000,
>       "Hans Rosenfeld" <hans%netbsd.org@localhost> wrote:
> > Module Name:        pkgsrc
> > Committed By:       hans
> > Date:               Tue May  8 16:08:54 UTC 2012
> > 
> > Modified Files:
> >     pkgsrc/lang/ruby193-base: Makefile
> > 
> > Log Message:
> > Prevent configure from using some random pkg-config tool found on the
> > system. Fixes build on SunOS 5.10.
> I wonder which is better solution whether patching configure script or
> adding pkg-config to USE_TOOLS.

When debugging this I tried adding pkg-config to USE_TOOLS, but that
fails miserably and probably only on SunOS. The script calls pkg-config
with PKG_CONFIG_DIRS=. set, which is removed by our pkg-config wrapper
and replaced with the buildlinked pkg-config directories. This in turn
causes the pkg-config call to fail as it can't find ruby.tmp.pc.


Hans


-- 
%SYSTEM-F-ANARCHISM, The operating system has been overthrown



Home | Main Index | Thread Index | Old Index