Port variants for deps

Joshua Root jmr at macports.org
Mon Sep 16 02:55:53 UTC 2019


On 2019-9-16 12:44 , Eric F (iEFdev) wrote:
> /Evening all,/
> 
> To pass along a variant for a dependency, without having to add in when
> you install.
> How do you do that? …or is there really no other way than adding it
> during “port install”.
> 
> One /would/ like to do:
> 
> ```
> depends_lib.append	port:first \
> 			port:second +foo_bar \
> 			port:third
> ```
> 
> // That doesn't work, but as a visual for the question.
> 
> I tried adding an extra variant with the same name and set to default,
> but no luck.
> 
> Any ideas? or is it just not possible?

<https://trac.macports.org/ticket/126>


More information about the macports-dev mailing list