Skip Menu |

This queue is for tickets about the X11-XCB CPAN distribution.

Report information
The Basics
Id: 96122
Status: resolved
Priority: 0/
Queue: X11-XCB

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.10
Fixed in: (no value)



Subject: Makefile should use $^X instead hardcoding "perl"
The following rule in Makefile.PL is using a hardcoded "perl": postamble <<'END_OF_MAKEFILE'; XCB_xs.inc: perl -M_GenerateMyXS -E '_GenerateMyXS::generate()' END_OF_MAKEFILE This will fail if the user is using a perl not in the PATH (i.e. if building for another perl than system perl). It's better to use instead the Makefile variable $(PERL) instead, or perl's $^X.
On Sun Jun 01 12:00:00 2014, SREZIC wrote: Show quoted text
> The following rule in Makefile.PL is using a hardcoded "perl": > > postamble <<'END_OF_MAKEFILE'; > XCB_xs.inc: > perl -M_GenerateMyXS -E '_GenerateMyXS::generate()' > END_OF_MAKEFILE > > This will fail if the user is using a perl not in the PATH (i.e. if > building for another perl than system perl). It's better to use > instead the Makefile variable $(PERL) instead, or perl's $^X.
Thanks. This is fixed with 0.11.