Tue Jan 22 14:41:02 2013: Request 82611 was acted upon. Transaction: Correspondence added by BULKDD Queue: Win32-API Subject: make tool detection broken in Win32::API Broken in: 0.74, 0.75 Severity: Normal Owner: Nobody Requestors: bul...@cpan.org Status: new Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=82611 >
On Thu Jan 10 02:26:07 2013, BULKDD wrote: > see > http://www.cpantesters.org/cpan/report/621df9ed-7059-1014-86e5-1b72d871b27e > http://www.cpantesters.org/cpan/report/9af18357-71e1-1014-8cab-46ee168fd208 > > somehow > _______________________________________ > sub MY::post_constants { > return 'CCFLAGS '.($_[0]->{MAKE} =~ /^make/ || $_[0]->{MAKE} =~ > /^dmake/ ? ':=' : '=') > . ' $(CCFLAGS) '.GS_flag()."\n"; > } > ________________________________________ > > isn't working correctly. After discussion with Mithaldu/smoker owner above, {MAKE} is 'C:\Perl\site\bin\dmake.exe', not 'dmake.exe' on his machine. MM_Win32.pm has a is_make_type method which uses a more elaborate RE to do it. Using is_make_type will probably be the solution. Remaining issues are, is_make_type is not public API of EUMM (embedding the RE is the alternative), and testing the whole thing on VC Perl, S Perl and Cyg Perl.