Subport known but not found (was: Re: "concurrent" qt4-mac: request feedback & testing for current port phase in Portfile?)

Lawrence Velázquez larryv at macports.org
Fri Dec 12 09:21:54 PST 2014


On Dec 12, 2014, at 12:05 PM, René J.V. Bertin <rjvbertin at gmail.com> wrote:

> So I'm trying to convert my +libsymlinks convenience variant into a ditto subport, qt4-mac-transitional (better name suggestions still welcome).
> 
> I'm stuck at the stage where I simply have
> 
> subport ${name}-transitional {
> }
> if { ${subport} eq "${name}-transitional" } {
>    conflicts           qt3 qt3-mac qt5-mac
>    if {![info exists qt4_is_concurrent]} {
>        return -code error "\n\nERROR:\n\
> ${name}-transitional is available only when qt4-mac has been installed with +concurrent\n"
>    }
> }
> 
> After redoing portindex

Does the variable "qt4_is_concurrent" exist? If not, the portfile itself throws an error and won't index.

vq


More information about the macports-dev mailing list