make fails due to incorrect hashbang
During the make phase, src/polkitbackend/toarray.pl fails to execute and make fails with the following error on chromiumos even though I have perl installed at
/usr/local/bin/perl`.
/bin/bash: ./toarray.pl: /usr/bin/perl: bad interpreter: No such file or directory
This is due to a problematic hashbang at the top of the file: #!/usr/bin/perl -w
instead of #!/usr/bin/env perl -w
. ChromiumOS doesn't provide perl in the base OS at /usr/bin/perl and one can't be added there because of Google's root filesystem protection.
This problem might also be present in other files with a hashbang, but this is the first one make fails at.
Please fix this!