develooper Front page | perl.perl5.porters | Postings from November 2003

MakeMaker DEFINE handling is broken

Thread Next
Alan Burlison
November 7, 2003 14:07
MakeMaker DEFINE handling is broken
Message ID:
As part of the Solaris 5.8.2 build I'm passing in some additional 
command-line #define values when making the stuff under ext, like this:

     miniperl Makefile.PL ... DEFINE='FOO'

The problem is that Time::HiRes (for example) sets DEFINE internally, and 
anything it sets up gets overwritten by the command-line value, and then it 
won't build.  Surely the command-line assignment to DEFINE should be added 
to the value of DEFINE specified within the Makefile.PL rather than 
replacing it?

Yet another Solaris-build-specific MakeMaker hack coming up, sigh.

Alan Burlison

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About