Ticket #32171 (closed defect: fixed)
perl5.8, perl5.10, perl5.12, perl5.14: startperl is wrong
|Reported by:||ryandesign@…||Owned by:||ricci@…|
|Port:||perl5.8, perl5.10, perl5.12, perl5.14|
In e.g. /opt/local/lib/perl5/5.8.9/darwin-2level/Config_heavy.pl appears this line:
This needs to be changed to the correct path to this version of perl.
Ports like help2man ask perl's config for the value of startperl, and use this when writing their shebang lines. Since startperl points to /opt/local/bin/perl, which won't exist unless the user has also installed the perl5 port, this can lead to errors like:
/opt/local/bin/help2man: /opt/local/bin/perl: bad interpreter: No such file or directory
Once startperl is fixed in the perl ports and their revisions have been increased, the revision of help2man will need to be increased also to force a rebuild. I imagine many other perl ports will be in a similar situation as help2man, but I don't know a good way to identify them all.