[90178] trunk/dports/textproc/help2man/Portfile

Eric Cronin ecronin at macports.org
Sat Feb 25 07:54:32 PST 2012


On Feb 25, 2012, at 4:14 AM, jmr at macports.org wrote:

> Revision
> 90178
> Author
> jmr at macports.org
> Date
> 2012-02-25 01:14:03 -0800 (Sat, 25 Feb 2012)
> Log Message
> 
> help2man: revert r90139

help2man still needs to patch ${prefix}/bin/help2man in order to fix what r90139 was attempting to:

[buster] ecronin% port installed active and help2man
The following ports are currently installed:
 help2man @1.40.5_2 (active)
[buster] ecronin% head -1 /opt/local/bin/help2man
#!/opt/local/bin/perl -w

This is probably an issue with a ton of our perl ports that install things in bin since before subports and the updated perl5 port that was the correct hashbang line:

[buster] ecronin% grep -I -h '/opt/local/bin/perl' /opt/local/bin/* | grep -v 5.12|wc -l
    198

I did grep without -h at first, but it seems a good number of the files calling /opt/local/bin/perl are versioned subports, e.g.:

/opt/local/bin/xsubpp-5.12:1:#!/opt/local/bin/perl

Also, on my set of installed ports:

[buster] ecronin% grep -I  '/usr/bin/perl' /opt/local/bin/* | wc -l
     46

[buster] ecronin% grep -I  'env perl' /opt/local/bin/* | wc -l
     36

Some of those may be ok if they don't depend on any external modules, but I would guess many are getting by on perl5 being installed and /opt/local/bin being before /usr/bin in $path…

Thanks,
Eric


More information about the macports-dev mailing list