Index: Mk/Uses/php.mk =================================================================== --- Mk/Uses/php.mk (revision 513023) +++ Mk/Uses/php.mk (working copy) @@ -130,7 +130,7 @@ 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 @@ . endif . endif +.if ${FLAVOR} == php74 +USES+= compiler:c11 +.endif + # This variable is for dependencies lines, so you write: # ${PHP_PKGNAMEPREFIX}foo:devel/php-foo@${PHP_FLAVOR} PHP_FLAVOR= php${PHP_VER}