[MacPorts] #51668: texlive-texdist: new port
MacPorts
noreply at macports.org
Sat Dec 24 14:28:56 CET 2016
#51668: texlive-texdist: new port
------------------------------+--------------------------------
Reporter: dliessi | Owner: macports-tickets@…
Type: submission | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: texlive-texdist |
------------------------------+--------------------------------
Comment (by dliessi):
The `texdist` script determines if a TeX distribution is usable by
checking if `Contents/Programs/$arch/tex` exists, where `$arch` is the
output of `uname -p`.
So at least that symlink is needed, besides the `texbin` one.
I could cheat and provide only the `$arch` and `texbin` symlinks: this
would not provide the complete picture in the universal case, and it would
provide wrong symlinks where `uname -p` does not correspond to the actual
architecture (e.g. on my machine it outputs `i386`, while `texlive-bin`
installs `x86_64`), but at least existing symlinks would not point to a
different architecture family (PowerPC vs Intel).
The ideal situation would be to provide the following symlinks, besides
`texbin`:
- 32-bit Intel: `i386`
- 64-bit Intel: `i386`, `x86_64`
- 32-bit or PowerPC: `ppc`, `powerpc`
- universal: the correct combination of the above
I can determine the installed architecture, if not universal, from the
directory name in `${texlive_mactex_texdistdir}` and manually fix the
64-bit Intel case, but this does not work for the universal case.
Is there a simple way to determine which architectures were installed in
the universal case?
--
Ticket URL: <https://trac.macports.org/ticket/51668#comment:8>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list