Subject: | Makefile assumes GNU make |
I am using FreeBSD here. The generated makefile contains the following rule:
perl.prov.files: perl.req.files
$(PERL) -pe 's/requires/provides/g; s/req/prov/g' $< >$@
$(CHMOD) $(PERM_RWX) $@
In BSD make, the semantics of $< seems to be different from GNU make. $<
contains only sources defined by implied rules. $> would give the
expected result with BSD make here. Maybe better, just get rid of $<, $>
and $@ and use hardcoded names.
Of course, if the module is linux-only, then nothing needs to be
changed. But I did not find a reference in the README files or in
Makefile.PL that it is so.
Regards,
Slaven