Coin + SoQt

Ryan Schmidt ryandesign at macports.org
Thu Jun 26 22:42:10 PDT 2014


On Jun 25, 2014, at 6:48 PM, Mark Brethen <mark.brethen at gmail.com> wrote:

> SoQt is dependent on Trolltech's Qt library. On Mac OS X, you have two options:
> 
> 1. Use the native Qt/Mac
> 2. Use X11 and Qt/X11
> 
> You need to build both Coin and SoQt using this option. So I added the following to my SoQt Portfile:
> 
> pre-configure {
> 
>    if {[active_variants Coin aqua] && ![variant_isset aqua]} {
>        ui_error "
> 	
> ****
> **** In order to use X11 instead of Quartz/Aqua, you need to build both
> **** Coin and SoQt using this option.
> ****
> "
>        error "Coin +aqua installed."
>    }
> }

The active_variants 1.1 portgroup's require_active_variants procedure simplifies this for you.



More information about the macports-dev mailing list