I'm not sure if this is problem specific to XML::Parser, but, here it
is:
XM::Parser distro has:
Makefile.PL
Expat/
Makefile.PL
and the top-level Makefile.PL has:
WriteMakefile(
NAME => 'XML::Parser',
DIR => [qw(Expat)],
dist => {COMPRESS => 'gzip', SUFFIX => '.gz'},
VERSION_FROM => 'Parser.pm',
@extras
);
If I do this at the top level:
perl Makefile.PL CCFLAGS="-arch ppc -arch i386"
that creates 2 Makefiles, as expected:
Makefile
Expat/Makefile
but, Expat/Makefile has the wrong CCFLAGS. It does have:
# MakeMaker ARGV: (q[CCFLAGS=-arch ppc -arch i386])
but, it has:
# --- MakeMaker cflags section:
CCFLAGS = -g -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-
strict-aliasing -I/usr/local/include
in other words it is missing:
-arch ppc -arch i386
So, is this a bug in me, MakeMaker, or XML::Parser's Makefile.PL ?
-------------------------------------------------------
Matisse Enzer <[EMAIL PROTECTED]>
http://www.matisse.net/ - http://www.eigenstate.net/