Lines 272-279
RUN_DEPENDS+= ${PHPBASE}/include/php/main/php.h:${PHP_PORT}
Link Here
|
272 |
. if ${php_ARGS:Mmod} || (${php_ARGS:Mweb} && defined(PHP_VERSION) && ${PHP_SAPI:Mcgi} == "" && ${PHP_SAPI:Mfpm} == "") |
272 |
. if ${php_ARGS:Mmod} || (${php_ARGS:Mweb} && defined(PHP_VERSION) && ${PHP_SAPI:Mcgi} == "" && ${PHP_SAPI:Mfpm} == "") |
273 |
USE_APACHE_RUN= 22+ |
273 |
USE_APACHE_RUN= 22+ |
274 |
.include "${PORTSDIR}/Mk/Uses/apache.mk" |
274 |
.include "${PORTSDIR}/Mk/Uses/apache.mk" |
|
|
275 |
. if ${PHP_VER} < 80 |
275 |
# libphpX.so only has the major version number in it, so remove the last digit of PHP_VER to get it. |
276 |
# libphpX.so only has the major version number in it, so remove the last digit of PHP_VER to get it. |
276 |
RUN_DEPENDS+= ${PHPBASE}/${APACHEMODDIR}/libphp${PHP_VER:C/.$//}.so:${MOD_PHP_PORT} |
277 |
RUN_DEPENDS+= ${PHPBASE}/${APACHEMODDIR}/libphp${PHP_VER:C/.$//}.so:${MOD_PHP_PORT} |
|
|
278 |
. else |
279 |
RUN_DEPENDS+= ${PHPBASE}/${APACHEMODDIR}/libphp.so:${MOD_PHP_PORT} |
280 |
. endif |
277 |
. endif |
281 |
. endif |
278 |
|
282 |
|
279 |
PLIST_SUB+= PHP_EXT_DIR=${PHP_EXT_DIR} |
283 |
PLIST_SUB+= PHP_EXT_DIR=${PHP_EXT_DIR} |