Skip Menu |

This queue is for tickets about the Class-MOP CPAN distribution.

Report information
The Basics
Id: 43136
Status: resolved
Priority: 0/
Queue: Class-MOP

People
Owner: Nobody in particular
Requestors: james2vegas [...] aim.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.76
Fixed in: (no value)



Subject: Class::MOP 0.76 introduces gmake-isms into generated Makefile
On non-linux systems the default 'make' is not gnu make, and until 0.76, bsd make (at least) was able to use the Makefile.PL generated Makefile. While this doesn't seem to affect CPAN installation (which seems to use gmake by default), ports systems may (and in fact, do) have problem compiling Class::MOP 0.76 without gmake. Snippet from OpenBSD /usr/ports/devel/p5-Class-MOP 'make': cp MOP.bs blib/arch/auto/Class/MOP/MOP.bs chmod 644 blib/arch/auto/Class/MOP/MOP.bs make: don't know how to make t/pp_072_immutable_w_constructors.t. Stop in /usr/ports/devel/p5-Class-MOP/w-p5-Class-MOP-0.76/Class-MOP-0.76. *** Error code 2 this is due to: t/pp_%: t/% t/header_pp.inc \t\$(NOECHO) \$(ABSPERLRUN) "-MExtUtils::Command" -e cat t/header_pp.inc \$< > \ $@ in Class-MOP-0.76/Makefile.PL. you should remove the gmake-ism or make your makefile GNUmakefile to indicate its use of gmake extensions and incompatibility with standard make.
Florian Ragwitz has fixed this in trunk, and so it'll be in the next release. Thanks! Shawn