[MacPorts] #46322: p5-*: consistently remove Perl versions 5.8-5.14
MacPorts
noreply at macports.org
Sat Dec 27 01:09:43 PST 2014
#46322: p5-*: consistently remove Perl versions 5.8-5.14
--------------------------+--------------------------------
Reporter: mojca@… | Owner: macports-tickets@…
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: |
--------------------------+--------------------------------
Comment (by mojca@…):
Replying to [comment:12 larryv@…]:
> Replying to [comment:9 mojca@…]:
> > One more question: what's the proper way to handle ports like
> > `p5-email-mime-modifier` which were `replaced_by` another port
> > already? (There is a similar situation with ports like `p5-foo` that
> > have been `replaced_by` `p5-bar`, while `p5-bar` has been `replaced_by
> > p5.16-bar`.)
>
> Leave them out? If a port has been replaced already, then there’s no
need to do anything else with it.
Take the following example:
{{{
PortSystem 1.0
PortGroup perl5 1.0
perl5.branches 5.10 5.12 5.14 5.16 5.18 5.20
perl5.setup Test-Tester 0.109
revision 1
license {Artistic-1 GPL}
if {${perl5.major} != ""} {
replaced_by p${perl5.major}-test-simple
} else {
replaced_by p5-test-simple
}
PortGroup obsolete 1.0
}}}
Should I keep the branches 5.10-5.14 in the "obsolete" `Portfile`?
--
Ticket URL: <https://trac.macports.org/ticket/46322#comment:13>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list