Thanks Joshua!

That was one old (and long-lived) ticket. :)

Yes, it would be better if the dep had subports.

What would be better (ie good “portiqette”)… Adding subports (keeping the
variants), or replacing variants with subports?

 · Eric



On 9/16/19 4:55 , Joshua Root wrote:
> 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>

Reply via email to