On 2016-03-07, Josh Grosse <j...@jggimi.homeip.net> wrote:

> Attached is a new update, from 2.90 -> 2.92.

Sorry, I still don't think this is right.

> -ONLY_FOR_ARCHS-qt=${GCC4_ARCHS}
> +ONLY_FOR_ARCHS=      ${GCC4_ARCHS}

> +.if ${BUILD_PACKAGES:M-qt}
> +MODULES+=            x11/qt5
> +MODQMAKE_PROJECTS=   qt/qtr.pro
> +CONFIGURE_STYLE+=    qmake
> +SEPARATE_BUILD=              No
> +MODQMAKE_INSTALL_ROOT=       ${PREFIX}
> +.else
> +MODULES+=            gcc4
> +.endif

I think you misunderstand GCC4_ARCHS.  GCC4_ARCHS are the architectures
that have gcc 4.2.1 in base.  It has nothing to do with the gcc4
module, which covers gcc 4.9.  And there is no reason not to build
-main and -gtk on architectures that lack gcc 4.9.

I think you want something like this:

ONLY_FOR_ARCHS-qt=${MODGCC4_ARCHS}

MODULES=        ... gcc4
MODGCC4_ARCHS=  [list of archs where gcc 4.9 is available]

.if ${BUILD_PACKAGES:M-qt}
MODULES+=       x11/qt5
...
.endif

-- 
Christian "naddy" Weisgerber                          na...@mips.inka.de

Reply via email to