> > Clever! > > One question of mine which did not get answered: "Q: why are ports like > fftw-3 reported as dependents of port libgcc-devel? I don't see anything in > fftw-3's portfile[2] which mentions port libgcc-devel, or indeed any gcc or > libgcc, are dependencies. > > "I suspect there is some behind-the-scenes dependency addition. Maybe it is > behind the scenes because so many ports depend on C or C++ compilers. Where > is this dependence addition documented? How should I as a user think of it?"
I a lot of ports gain this via the compilers PortGroup. It’s often used to for instance select a gcc compiler for fortran, as Xcode does not provide one. https://github.com/macports/macports-ports/blob/master/_resources/port1.0/group/compilers-1.0.tcl Chris > > Best regards, > —Jim DeLaHunt >