Subject: Notes on IRIX build of firefox, thunderbird and gimp2
To: None <>
From: =?ISO-8859-1?Q?Staffan_Thom=E9n?= <>
List: tech-pkg
Date: 10/17/2004 18:35:57
I built firefox-gtk2, thunderbird-gtk2 and gimp2 on my IRIX 6.5 system 
and allthough the new wrapper for libtool and buildlink3 make things 
work almost out of the box(kudos to whomever made this! The random 
breakage is gone!), there are a few things I bumped into.

The thing that broke most was that for some reason x11 buildlinked 
packages get the wrong path to the libraries, e.g.


(the 'pkg' should not be there) This I've seen before, and I wonder if
it isn't because of some x11-links or so.

Secondly, fam is native on IRIX, so it's rather useless to build it (it 
even won't build, not finding -lstdlibc++ or somesuch) and with this,
programs trying to pull it in won't try to build it.

--- buildlink3.old      Sun Oct 17 18:25:15 2004
+++       Fri Oct 15 21:24:01 2004
@@ -1,8 +1,11 @@
  # $NetBSD:,v 1.3 2004/10/03 00:18:14 tv Exp $

+.include "../../mk/"

+.if empty(OPSYS:MIRIX)
  .if !empty(BUILDLINK_DEPTH:M+)
@@ -15,5 +18,6 @@
  BUILDLINK_RECOMMENDED.fam+=    fam>=2.7.0nb2
  BUILDLINK_PKGSRCDIR.fam?=      ../../sysutils/fam
  .endif # FAM_BUILDLINK3_MK
+.endif  # OPSYS


There's a slight problem though, IRIX needs programs to use -lC (capital 
C) along with -lfam to get all symbols resolved. I fixed this by
setting LIBS='-lC' when building gnome-vfs, the package I built that
wanted fam (which is also odd because the CONFIGURE_ARGS says --disable-fam)

Perhaps the can be altered to add -lC to the lib-flags
for packages pulling in fam on IRIX?

Can't think of anything else that would break for now... Maybe someone 
else using irix has some use for this. pkgsrc is getting to the point 
that I would recommend it instead of sgi's freeware system. We still 
have fewer dependencies ;-)

Thank you again for the wrapper fixes,

Staffan Thomen