#15833 closed enhancement (wontfix)
perl modules: depend on Perl 5.x instead of Perl 5.8
Reported by: | pmagrath@… | Owned by: | MarcusCalhoun-Lopez (Marcus Calhoun-Lopez) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | base | Version: | 1.6.0 |
Keywords: | Cc: | ||
Port: |
Description
p5-net-ssleay relies on a dependency, perl5.8. If perl5.10 is already installed, that version of perl should be used instead of installing perl5.8 as well.
Change History (6)
comment:1 Changed 16 years ago by jmroot (Joshua Root)
Component: | ports → base |
---|---|
Milestone: | Port Requests → MacPorts base enhancements |
Summary: | p5-net-ssleay 1.3 Dependency on Perl 5.8 instead of Perl 5.x → perl modules: depend on Perl 5.x instead of Perl 5.8 |
Type: | defect → enhancement |
comment:2 Changed 16 years ago by raimue (Rainer Müller)
The perl5 port group uses the version of perl which is available at ${prefix}/bin/perl
.
So as an immediate workaround(!) you can use this approach:
sudo port install perl5.10 sudo ln -sf /opt/local/bin/perl5.10.0 /opt/local/bin/perl sudo port -fn upgrade p5-*
This should make all p5-* ports use perl5.10 instead of perl5.8. Note that this will break as soon as you upgrade perl5.8 as it will restore the /opt/local/bin/perl
symlink.
comment:3 Changed 16 years ago by afb@…
This behaviour is also in the Python ports, but even worse there since it needs one port for each language version (i.e. py-foo requires python24 and py25-foo requires python25). You can also see it with X11 ports requiring XFree86, but there it is a library dependency so having another X server install will also work - compare bin:perl:perl5.8
comment:4 Changed 16 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Owner: | changed from macports-tickets@… to mcalhoun@… |
---|---|
Status: | new → assigned |
comment:5 Changed 16 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Resolution: | → wontfix |
---|---|
Status: | assigned → closed |
It was decided to have only one perl5 port control ${prefix}/bin/perl.
See #16830.
comment:6 Changed 15 years ago by jmroot (Joshua Root)
Milestone: | MacPorts Future |
---|
This behaviour is common to all ports that use the perl5 portgroup.