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

MakeMaker DEFINE handling is broken

Thread Next
From:
Alan Burlison
Date:
November 7, 2003 14:07
Subject:
MakeMaker DEFINE handling is broken
Message ID:
3FAC17A8.3010602@sun.com
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


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About