Port variants for deps

Eric F (iEFdev) eric at iefdev.se
Mon Sep 16 03:31:14 UTC 2019


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>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20190916/973afb85/attachment.html>


More information about the macports-dev mailing list