#15446: teTeX 3.0_5 activation failed -------------------------------------+-------------------------------------- Reporter: jmstephensjr@gmail.com | Owner: stechert@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: teTeX octave -------------------------------------+-------------------------------------- Comment (by milosh@macports.org): Replying to [comment:3 alakazam@melix.net]:
Is it possible to handle multiple ports providing the same dependencies without resorting to variants ? I would imagine that the answer is no, which would mean I need to add a variant for {{{pTeX}}} so as to avoid the difficulties encountered in this ticket, and at the same time allow japanese {{{octave}}} users to rely on {{{pTeX}}} instead of {{{texlive}}}.
It is possible to accept a dependency provided by serveral ports without variants: the bin:tex:texlive dependency scheme is fulfilled as soon as some port (or even apple) installed a program named tex in the PATH. To ensure it was installed through macports, you can use path:${prefix}/bin/tex:texlive which searches for the said file (a file that ptex, teTeX and texlive should all create), and installs texlive if the file doesn't exist. This is exactly why most dependency on LaTeX are written as a bin: or path: instead of the most used port: dependency scheme. -- Ticket URL: <http://trac.macports.org/ticket/15446#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS