Subject: Re: Notes on IRIX build of firefox, thunderbird and gimp2
To: Staffan =?ISO-8859-1?Q?Thom=E9n?= <duck@multi.fi>
From: Julio M. Merino Vidal <jmmv@menta.net>
List: tech-pkg
Date: 10/17/2004 18:37:12
On Sun, 17 Oct 2004 18:35:57 +0300
Staffan Thom=E9n <duck@multi.fi> wrote:
> Secondly, fam is native on IRIX, so it's rather useless to build it (it=20
> even won't build, not finding -lstdlibc++ or somesuch)=20
So it should be fixed...
> --- buildlink3.old Sun Oct 17 18:25:15 2004
> +++ buildlink3.mk Fri Oct 15 21:24:01 2004
> @@ -1,8 +1,11 @@
> # $NetBSD: buildlink3.mk,v 1.3 2004/10/03 00:18:14 tv Exp $
>=20
> +.include "../../mk/bsd.prefs.mk"
> +
> BUILDLINK_DEPTH:=3D ${BUILDLINK_DEPTH}+
> FAM_BUILDLINK3_MK:=3D ${FAM_BUILDLINK3_MK}+
>=20
> +.if empty(OPSYS:MIRIX)
> .if !empty(BUILDLINK_DEPTH:M+)
> BUILDLINK_DEPENDS+=3D fam
> .endif
> @@ -15,5 +18,6 @@
> BUILDLINK_RECOMMENDED.fam+=3D fam>=3D2.7.0nb2
> BUILDLINK_PKGSRCDIR.fam?=3D ../../sysutils/fam
> .endif # FAM_BUILDLINK3_MK
> +.endif # OPSYS
>=20
> BUILDLINK_DEPTH:=3D ${BUILDLINK_DEPTH:S/+$//}
This patch is wrong. Packages that can be overriden by system software have
to provide a 'builtin.mk' file and not mess with this stuff in buildlink3.m=
k.
Maybe you can adapt one of the multiple instances of this file in pkgsrc
instead?
Cheers
--=20
Julio M. Merino Vidal <jmmv@menta.net>
http://www.livejournal.com/users/jmmv/
The NetBSD Project - http://www.NetBSD.org/