Skip Menu |

This queue is for tickets about the Image-Sane CPAN distribution.

Report information
The Basics
Id: 121936
Status: resolved
Priority: 0/
Queue: Image-Sane

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: GNU make syntax in generated Makefile problematic
On my freebsd9 smokers building the distribution fails: ... Output from '/usr/bin/make': Error expanding embedded variable. ... make works if most of the postamble is deleted. It seems that the BSD make (at least the version which comes with freebsd9) cannot cope with the GNU make syntax used here. As the postamble seems to be used only for development, you could choose to not generate it for some platforms, e.g. like this: if ($^O !~ /bsd/) { *MY::postamble = sub { ... }; } I don't know if there are also problems with other make variants like dmake and nmake on Windows, so maybe the $^O condition should be reversed to a positive match for platforms where make is usually GNU make (linux & darwin).
Thanks for the report. I'll upload 0.11 to fix this ASAP.