circular dependencies

Daniel J. Luke dluke at geeklair.net
Fri Feb 20 06:31:28 PST 2015


> On Feb 20, 2015, at 2:23 AM, Lawrence Velázquez <larryv at macports.org> wrote:
>> On Feb 20, 2015, at 1:46 AM, René J.V. Bertin <rjvbertin at gmail.com> wrote:
>> Is there any support in MacPorts for circular dependencies (as far as such a thing is possible)?
> 
> No. A port’s dependency graph must be acyclic.
> 
>> I'm building the freetype +infinality version with harfbuzz support, which depends on cairo, which ultimately depends on freetype. Would that make it impossible to install that port variant without bootstrapping with the regular variant?
> 
> Yes.

if possible/reasonable, a good solution here is to break the port in question up into two ports (one which installs the 'boostrap' version and one which installs the extra pieces that the variant would have installed).

--
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