Stuart Henderson <s...@spacehopper.org> writes: > On 2021/02/25 14:13, Matthias Kilian wrote: >> However, I'm not sure wether devel/cabal is the right place for >> cabal.port.mk. Shouldn't modules-only files to be put into >> infrastructure/mk? >> >> What do other ports people think? > > We have the same for devel/cargo, lang/go, lang/python and others. > For gcc the main module is in lang/gcc/8 but there's a helper in > infrastructure/mk because it (sometimes) needs to select between > different gcc versions. > > I'm fairly happy having it in the main ports tree, but if it is > placed elsewhere then the others should probably move there too.
FWIW, I chose this placement after lang/ghc/ghc.port.mk. We could bikeshed devel/cabal{-install}/cabal{-install}.port.mk aspect of it :) Thanks Gretg