[MacPorts] #43598: Updated LaTeXML portfile & tarball
MacPorts
noreply at macports.org
Wed May 7 07:57:47 PDT 2014
#43598: Updated LaTeXML portfile & tarball
-----------------------------+--------------------------------
Reporter: bruce.miller@… | Owner: macports-tickets@…
Type: update | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: maintainer
Port: LaTeXML |
-----------------------------+--------------------------------
Comment (by bruce.miller@…):
Replying to [comment:3 mf2k@…]:
> - It is not correct to depend on the stub p5-* ports. Instead you must
select a version. Macports is currently using perl 5.16 as the default
perl, so use 5.16-foo.
While poking around to deal with other comments, I came across the
following
idiom in some of the portfiles.
{{{
if {${perl5.major} != ""} {
depends_lib-append port:p${perl5.major}-encode-locale \
...
}
}}}
Would that be a preferred approach in my Portfile, as well?
I'm curious though: What happens if {{{${perl5.major} }}} is *not*
defined? No dependencies?
(or is that a "can't happen"?)
--
Ticket URL: <https://trac.macports.org/ticket/43598#comment:7>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list