Index: Mk/Uses/php.mk =================================================================== --- Mk/Uses/php.mk +++ Mk/Uses/php.mk @@ -278,7 +278,7 @@ RUN_DEPENDS+= ${PHPBASE}/include/php/main/php.h:${PHP_PORT} . if ${php_ARGS:Mmod} || (${php_ARGS:Mweb} && defined(PHP_VERSION) && ${PHP_SAPI:Mcgi} == "" && ${PHP_SAPI:Mfpm} == "") USE_APACHE_RUN= 22+ -.include "${PORTSDIR}/Mk/Uses/apache.mk" +.include "${USESDIR}/apache.mk" # libphpX.so only has the major version number in it, so remove the last digit of PHP_VER to get it. RUN_DEPENDS+= ${PHPBASE}/${APACHEMODDIR}/libphp${PHP_VER:C/.$//}.so:${MOD_PHP_PORT} . endif Index: lang/php56/Makefile =================================================================== --- lang/php56/Makefile +++ lang/php56/Makefile @@ -86,7 +86,7 @@ .if defined(PKGNAMEPREFIX) USES+= apache:2.2+ -.include "${PORTSDIR}/Mk/Uses/apache.mk" +.include "${USESDIR}/apache.mk" .if ${PORT_OPTIONS:MAP2FILTER} CONFIGURE_ARGS+=--with-apxs2filter=${APXS} .else Index: lang/php70/Makefile =================================================================== --- lang/php70/Makefile +++ lang/php70/Makefile @@ -89,7 +89,7 @@ .if defined(PKGNAMEPREFIX) USES+= apache:2.2+ -.include "${PORTSDIR}/Mk/Uses/apache.mk" +.include "${USESDIR}/apache.mk" .if ${PORT_OPTIONS:MAP2FILTER} CONFIGURE_ARGS+=--with-apxs2filter=${APXS} .else Index: lang/php71/Makefile =================================================================== --- lang/php71/Makefile +++ lang/php71/Makefile @@ -90,7 +90,7 @@ .if defined(PKGNAMEPREFIX) USES+= apache:2.2+ -.include "${PORTSDIR}/Mk/Uses/apache.mk" +.include "${USESDIR}/apache.mk" .if ${PORT_OPTIONS:MAP2FILTER} CONFIGURE_ARGS+=--with-apxs2filter=${APXS} .else Index: lang/php72/Makefile =================================================================== --- lang/php72/Makefile +++ lang/php72/Makefile @@ -83,7 +83,7 @@ .if defined(PKGNAMEPREFIX) USES+= apache:2.2+ -.include "${PORTSDIR}/Mk/Uses/apache.mk" +.include "${USESDIR}/apache.mk" .if ${PORT_OPTIONS:MAP2FILTER} CONFIGURE_ARGS+=--with-apxs2filter=${APXS} .else