(un)setting environment variables from a Portfile

René J.V. Bertin rjvbertin at gmail.com
Sun Jan 11 12:03:44 PST 2015


On Sunday January 11 2015 14:49:21 Michael Dickens wrote:

> PortGroup (qt4; I assume qt5 too), you'll see an "if" statement:
> {{{
> if {![info exists building_qt4]} {
>     configure.env-append \
>         QTDIR=${qt_dir} \
>         QMAKE=${qt_qmake_cmd} \
>         QMAKESPEC=${qt_qmake_spec} \
>         MOC=${qt_moc_cmd}
> ....
> }}}

AHEM, right. I had noticed the QMAKE* and MOC lines, even ... :-/

R.



More information about the macports-dev mailing list