diff options
-rw-r--r-- | Mk/Uses/php.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Mk/Uses/php.mk b/Mk/Uses/php.mk index 2f3b714a0088..b04f90022d12 100644 --- a/Mk/Uses/php.mk +++ b/Mk/Uses/php.mk @@ -130,7 +130,7 @@ IGNORE= does not work with PHP versions "${IGNORE_WITH_PHP}" and "${_INSTALLED_P PHP_VER?= ${PHP_DEFAULT:S/.//} . endif # .if exists(${PHPBASE}/etc/php.conf) -# Use the "default" php version as th first version for flavors, so that it +# Use the "default" php version as the first version for flavors, so that it # gets to be the default flavor. _ALL_FLAVOR_VERSIONS= ${PHP_VER} ${_ALL_PHP_VERSIONS:N${PHP_VER}} @@ -159,6 +159,10 @@ FLAVOR= ${FLAVORS:[1]} . endif . endif +.if ${PHP_VER} == 74 && (${ARCH:Mmips*} || ${ARCH:Mpowerpc*} || ${ARCH} == sparc64) +USE_GCC= yes +.endif + # This variable is for dependencies lines, so you write: # ${PHP_PKGNAMEPREFIX}foo:devel/php-foo@${PHP_FLAVOR} PHP_FLAVOR= php${PHP_VER} |