Opened 13 years ago

Closed 13 years ago

#30922 closed enhancement (wontfix)

latexmk should not install texlive when MacTeX is installed

Reported by: neverpanic (Clemens Lang) Owned by: vinc17@…
Priority: Low Milestone:
Component: ports Version: 2.0.1
Keywords: Cc:
Port: latexmk

Description

The latexmk Portfile specifies a dependency on

bin:latex:texlive-latex

in order to prevent installing latex when there already is a different installation of LaTeX. However, the LaTeX distribution most Mac users probably use MacTeX installs the binary as /usr/texbin/latex. This can be fixed, by either adding /usr/texbin to binpath in macports.conf or modifying the Portfile to specifically check for /usr/texbin/latex or providing a variant to disable the dependency for users that knowingly have LaTeX installed.

Attachments (1)

Portfile.diff (417 bytes) - added by neverpanic (Clemens Lang) 13 years ago.
Diff against the Portfile to check for /usr/texlive/latex (this might not be the correct way to do this)

Download all attachments as: .zip

Change History (3)

Changed 13 years ago by neverpanic (Clemens Lang)

Attachment: Portfile.diff added

Diff against the Portfile to check for /usr/texlive/latex (this might not be the correct way to do this)

comment:1 Changed 13 years ago by vinc17@…

I suppose that other ports like rubber would be affected by the same problem. Shouldn't this be a change done in base (which should include all the "standard" directories)? The real meaning of bin:latex:texlive-latex should be: if latex is not in the bin path, then add the texlive-latex dependency.

comment:2 Changed 13 years ago by vinc17@…

Resolution: wontfix
Status: newclosed

Closing as wontfix because binaries need to be in the MacPorts PATH, even though this is a runtime dependency (some other port may build-depend on latexmk, and the latex binary needs to be in the MacPorts PATH in such a case). If the user wants to avoid the installation of the dependency, he needs to add the /usr/texbin to binpath in macports.conf as said in the bug report, but this could lead to a bad interaction with MacPorts.

Note: See TracTickets for help on using tickets.