[MacPorts] #46570: git, openbrowser, ossp-uuid, xraylib: remove variants perl5_12, perl5_14, introduce support for 5.18 and 5.20
MacPorts
noreply at macports.org
Tue Jan 20 10:23:23 PST 2015
#46570: git, openbrowser, ossp-uuid, xraylib: remove variants perl5_12, perl5_14,
introduce support for 5.18 and 5.20
-------------------------------------------------+-------------------------
Reporter: mojca@… | Owner: macports-
Type: enhancement | tickets@…
Priority: Normal | Status: new
Component: ports | Milestone:
Resolution: | Version:
Port: git, openbrowser, ossp-uuid, | Keywords:
xraylib, biblatex-biber, intltool |
-------------------------------------------------+-------------------------
Comment (by pixilla@…):
Replying to [comment:11 mojca@…]:
> Another question for `pixilla`: I currently used a dirty hack, namely:
> {{{
> if {[variant_isset perl5_16] || [variant_isset perl5_18] ||
[variant_isset perl5_20]} {
> }}}
> What's the more elegant way to check whether an optional perl variant
has been selected?
With [attachment:patch-portgroup-perl5.diff patch-portgroup-perl5.diff]
perl5.variant should be set to the name of the selected variant or empty
if there is not one:
{{{
perl5.branches 5.16 5.18 5.20
perl5.create_variants ${perl5.branches}
puts "perl5.variant: ${perl5.variant}"
}}}
--
Ticket URL: <https://trac.macports.org/ticket/46570#comment:18>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list