[MacPorts] #43193: perl PortGroup: add support for multiple Perl versions
#43193: perl PortGroup: add support for multiple Perl versions -------------------------+-------------------------------- Reporter: mojca@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: perl5 -------------------------+-------------------------------- Perl recently switched to `+perl5_16`. Now there's a lot of ports with hardcoded dependencies on Perl 5.12. It would be nice to remove those and use variants instead (similar to what is done for python, even though the situation is a tiny bit different there). Related tickets: * #43004 * #43191 * #43191 From [http://trac.macports.org/browser/trunk/dports/textproc/intltool/Portfile intltool]: {{{ # TODO: This perlver cruft should be done in the perl5 PortGroup if {[variant_isset perl5_8]} { set perlver 5.8 } elseif {[variant_isset perl5_10]} { set perlver 5.10 } elseif {[variant_isset perl5_12]} { set perlver 5.12 } elseif {[variant_isset perl5_14]} { set perlver 5.14 } elseif {[variant_isset perl5_18]} { set perlver 5.18 } else { set perlver 5.16 default_variants +perl5_16 } variant perl5_8 conflicts perl5_10 perl5_12 perl5_14 perl5_16 perl5_18 description {use perl 5.8} {} variant perl5_10 conflicts perl5_8 perl5_12 perl5_14 perl5_16 perl5_18 description {use perl 5.10} {} variant perl5_12 conflicts perl5_8 perl5_10 perl5_14 perl5_16 perl5_18 description {use perl 5.12} {} variant perl5_14 conflicts perl5_8 perl5_10 perl5_12 perl5_16 perl5_18 description {use perl 5.14} {} variant perl5_16 conflicts perl5_8 perl5_10 perl5_12 perl5_14 perl5_18 description {use perl 5.16} {} variant perl5_18 conflicts perl5_8 perl5_10 perl5_12 perl5_14 perl5_16 description {use perl 5.18} {} }}} -- Ticket URL: <https://trac.macports.org/ticket/43193> MacPorts <http://www.macports.org/> Ports system for OS X
#43193: perl PortGroup: add support for multiple Perl versions --------------------------+-------------------------------- Reporter: mojca@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: perl5 | --------------------------+-------------------------------- Comment (by mojca@…): And here's a ticket I opened a while ago requesting different Python variants: #40734 -- Ticket URL: <https://trac.macports.org/ticket/43193#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#43193: perl PortGroup: add support for multiple Perl versions --------------------------+-------------------------------- Reporter: mojca@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: perl5 | --------------------------+-------------------------------- Comment (by jul_bsd@…): same problem w rrdtool #42498 but was not even linked to a defined perl version -- Ticket URL: <https://trac.macports.org/ticket/43193#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#43193: perl PortGroup: add support for multiple Perl versions --------------------------+-------------------------------- Reporter: mojca@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: perl5 | --------------------------+-------------------------------- Comment (by mojca@…): See also #44405. -- Ticket URL: <https://trac.macports.org/ticket/43193#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#43193: perl PortGroup: add support for multiple Perl versions --------------------------+-------------------------------- Reporter: mojca@… | Owner: macports-tickets@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: perl5 | --------------------------+-------------------------------- Changes (by pixilla@…): * status: new => closed * resolution: => fixed Comment: I believe r125264 addresses this tickets issue. -- Ticket URL: <https://trac.macports.org/ticket/43193#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#43193: perl PortGroup: add support for multiple Perl versions --------------------------+-------------------------------- Reporter: mojca@… | Owner: macports-tickets@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: perl5 | --------------------------+-------------------------------- Comment (by mojca@…): Thank you very much. (Next time when you upload patches please drop a note, otherwise nobody notices the uploads.) Did you already change any of the perl modules/programs using these patches? -- Ticket URL: <https://trac.macports.org/ticket/43193#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#43193: perl PortGroup: add support for multiple Perl versions --------------------------+-------------------------------- Reporter: mojca@… | Owner: macports-tickets@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: perl5 | --------------------------+-------------------------------- Comment (by pixilla@…): Replying to [comment:7 mojca@…]:
Thank you very much. (Next time when you upload patches please drop a note, otherwise nobody notices the uploads.) I was not aware and surprised no one commented on the patches.
Did you already change any of the perl modules/programs using these patches? Locally yes. I have another option to add to the port group to "require" one of the available perl variants. I try to get this in tonight or tomorrow.
-- Ticket URL: <https://trac.macports.org/ticket/43193#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#43193: perl PortGroup: add support for multiple Perl versions --------------------------+-------------------------------- Reporter: mojca@… | Owner: macports-tickets@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: perl5 | --------------------------+-------------------------------- Comment (by pixilla@…): See r126932 for perl5.create_variants usage example. -- Ticket URL: <https://trac.macports.org/ticket/43193#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts