Opened 9 years ago

Closed 9 years ago

#32171 closed defect (fixed)

perl5.8, perl5.10, perl5.12, perl5.14: startperl is wrong

Reported by: ryandesign (Ryan Schmidt) Owned by: ghosthound
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc:
Port: perl5.8, perl5.10, perl5.12, perl5.14

Description

In e.g. /opt/local/lib/perl5/5.8.9/darwin-2level/Config_heavy.pl appears this line:

startperl='#!/opt/local/bin/perl'

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

as reported on the buildbot.

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.

Change History (1)

comment:1 Changed 9 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

r91580 (help2man rev bumped in r91581)

Note: See TracTickets for help on using tickets.