Subject: fonts/fontconfig 2.4.0 on OS X 10.4.7 build failure
To: None <>
From: Mark E. Perkins <>
List: pkgsrc-users
Date: 09/13/2006 16:38:15
Building the latest fontconfig on OS X 10.4.7 ends with:

rm -f fcarch.h
./fc-arch auto < ../fc-arch/fcarch.tmpl.h > fcarch.h
./fc-arch: unknown signature
        Please update fcarch.tmpl.h and rebuild
gnumake[3]: *** [fcarch.h] Error 1
gnumake[2]: *** [all] Error 2

The problem seems to be that configure determines the system architecture by
running '/bin/arch' and '/usr/bin/arch -k'. The problem is that /bin/arch does
not exist on OS X and /usr/bin/arch does not accept any command line arguments.

A temporary fix is to set CONFIGURE_ARGS+=--with-arch=ppc in mk.conf, but
that's just a bandaid on the real problem.

Is there a quick (and more permanent) fix that can be applied or is this worth
a PR?