Subject: Re: pkg/34509: fontconfig-2.4.0 package cannot be built under Mac
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Mark E. Perkins <perkinsm@bway.net>
List: pkgsrc-bugs
Date: 09/14/2006 09:50:02
The following reply was made to PR pkg/34509; it has been noted by GNATS.

From: "Mark E. Perkins" <perkinsm@bway.net>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/34509: fontconfig-2.4.0 package cannot be built under Mac
 OS X
Date: Thu, 14 Sep 2006 05:47:30 -0400

 Some additional information and a work-around ....
 
 The fc-arch stuff is new to 2.4.0 (it was not in 2.3.2).  A work-around is to set
 
 	CONFIGURE_ARGS+=--with-arch=ppc
 
 in mk.conf, in which case fontconfig builds to completion (and appears to work
 fine).  Intel Macs may be able to set this to one of the other entries in
 fc-arch/fcarch.tmpl.h (I have now way to test).
 
 It seems that configure determines the system architecture by running
 '/bin/arch' and '/usr/bin/arch -k' (this is enshrined in config.guess).  The
 problem is that /bin/arch does not exist on OS X and /usr/bin/arch does not
 accept any command line arguments.