Subject: Re: CVS commit: pkgsrc/x11/gtk2
To: Jan Schaumann <jschauma@netmeister.org>
From: Julio M. Merino Vidal <jmmv@menta.net>
List: tech-pkg
Date: 09/07/2004 23:08:21
On Tue, 7 Sep 2004 10:21:34 -0400
Jan Schaumann <jschauma@netmeister.org> wrote:

> "Julio M. Merino Vidal" <jmmv@menta.net> wrote:
>  
> > > Log Message:
> > > If we're on IRIX and we're using gcc, then, apparently, we need gawk,
> > > as otherwise the awk invocation in libtool breaks complaining about
> > > the ``Input record [...] too long'' near the end of the build process.
> > > (Oddly this does not occur using the mipspro compiler.)
> > 
> > Humm... I think this fix should be more generic, as it will probably affect
> > other packages.  (Specially many of the GNOME ones, which use very long
> > calls to libtool).
> 
> Yes, more generic would be good.  But how?

Hmm... I now see the "let libtool use ${AWK}" thread...

> Most likely, though given the large number of files that are linked, I
> would think it to be odd that the maybe 30 chars of flags would make the
> difference.  Either way, you're right, if it can be done more
> generically, it should.  But I'm not sure where or how other than having
> libtool use (and depend on) gawk (for IRIX or other platforms where this
> is an issue).

As already pointed out, AWK is nawk in IRIX, isn't it?  So it should not add
any dependency (if nawk can handle the situation).

Depending on gawk may be tricky because it in turn depends on gettext-lib,
which depends on libtool...

-- 
Julio M. Merino Vidal <jmmv@menta.net>
http://www.livejournal.com/users/jmmv/
The NetBSD Project - http://www.NetBSD.org/