Port variants for deps

Eric F (iEFdev) eric at iefdev.se
Mon Sep 16 02:44:23 UTC 2019


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

 · Eric

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20190916/dddbe364/attachment-0001.html>


More information about the macports-dev mailing list