Making `port mpgk' create smaller packages

Werner LEMBERG wl at gnu.org
Mon Mar 11 21:17:17 UTC 2019


>> As far as I can see, the main problem is that build and run
>> dependencies are intermixed in Portfiles: If `foo' is necessary for
>> building and running, it gets only listed in `depends_lib'.
> 
> That's a clear bug in a Portfile specification (rather than in
> MacPorts).
> 
> Any dependency that's not required for running should be
> depends_build[-append] and any dependency that's not required for
> building the port should be depends_run[-append]. There's also
> depends_test, depends_fetch, ... (maybe more).

Thanks, this makes sense.


    Werner


More information about the macports-users mailing list