Opened 2 years ago

Last modified 2 years ago

#64504 new enhancement

Stop texlive from surprise installing all the time

Reported by: TruePath (Peter Gerdes) Owned by:
Priority: Low Milestone:
Component: ports Version:
Keywords: texlive, Cc:
Port:

Description (last modified by TruePath (Peter Gerdes))

If this issue has been discussed before I apologize. I looked but I couldn't find it.

About one in four times I run port install (and sometimes just port update) I find that some port has set some kind of docs to be included by default with a build dependency on texlive. This is super irritating because I need to have texlive installed outside of macports and I come back after install/update all the time to find I need to remove macports texlive again by hand. Even examining the ports I'm installing doesn't help because often the offending package is buried deep in the dependency tree (and takes quite awhile to track down)

This could be fixed by allowing users to mark a package as installed and frozen as with apt (or just blocked) but I suspect you've already decided against that. However, texlive specifically is a huge install that seems to get randomly installed from other packages all the time so maybe something could simply be done on a policy level to stop packages that don't really need texlive from defaulting to requesting it to build docs.

I've decided to add -docs to my variants.conf but that's suboptimal as it means I lose docs for everything.

Change History (2)

comment:1 Changed 2 years ago by TruePath (Peter Gerdes)

Description: modified (diff)

comment:2 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)

For most dependencies, MacPorts requires them to be installed by a MacPorts port. TeXLive is one of the few exceptions; a non-MacPorts TeXLive installation can be used by MacPorts ports. If you want that to happen, edit macports.conf and put /usr/texbin: at the beginning of binpath.

Note: See TracTickets for help on using tickets.