creating MacTeX links to MacPorts TeXLive

Andrea D'Amore and.damore at macports.org
Sat Oct 9 12:44:38 PDT 2010


On Fri, Oct 8, 2010 at 8:53 PM, Faisal Moledina
<faisal.moledina at gmail.com> wrote:
> I
> decided to help update the postflight script to link to MacPorts
> TeXLive ports, called MacPorts-TeXLive. I've pasted the relevant
> portion of the postflight script at http://pastie.org/1208204 and I
> was wondering if other MacTeX users or anyone in general can check to
> make sure that I haven't missed anything.

That sounds great, thanks.

>The main
> disadvantage that I see is that because MacPorts installs TeXLive
> binaries in /opt/local/bin, when this TeX distribution is selected,
> /usr/texbin would link to /opt/local/bin. Since /usr/texbin is
> typically recommended to be prepended to $PATH, this would cause
> issues for people who do not want MacPorts binaries to take precedence
> over system ones (i.e. Perl).

Check latest "messed up perl" discussion.

> I'm not sure how to deal with that apart
> from making a texlive-bin somewhere in /opt/local
> (opt/local/bin/texlive ?)

I'd not deal with it at all as it's not an issue, I guess most of
macports users have $prefix on head of PATH anyway.

-- 
Andrea


More information about the macports-users mailing list