Questions on dependencies

Daniel J. Luke dluke at geeklair.net
Fri Nov 1 12:55:18 PDT 2013


On Nov 1, 2013, at 3:50 PM, Ryan Schmidt <ryandesign at macports.org> wrote:
> On Nov 1, 2013, at 14:44, Daniel J. Luke wrote:
>> On Nov 1, 2013, at 2:09 PM, Ryan Schmidt wrote:
>>> The solution would be for ports that use the ImageMagick libraries to depend on it via depends_lib and for those only needing its programs to depend on it via depends_build and/or depends_run.
>> 
>> I don't think you can say depends_run means 'only depends on programs' unless we specifically define it to mean that (I can think of a case where something doesn't link with a library or plugin, but loads it at runtime).
> 
> I didn’t say that. I said perhaps we should make “depends_lib” mean that it depends on (i.e. links with) a library. That doesn’t seem so unreasonable.

the quoted sentence indicates:

1. depends_lib == linked to it (needs revbump)
2. depends_build/depends_run == only needs its programs.

I'm saying that unless we define depends_build/depends_run as only pertaining to programs, that 2 isn't necessarily true (an application can have a runtime dependency on a library or plugin that it loads at runtime but isn't linked with).

--
Daniel J. Luke                                                                   
+========================================================+                        
| *---------------- dluke at geeklair.net ----------------* |                          
| *-------------- http://www.geeklair.net -------------* |                          
+========================================================+                        
|   Opinions expressed are mine and do not necessarily   |                          
|          reflect the opinions of my employer.          |                          
+========================================================+





More information about the macports-dev mailing list