|
Lines 241-247
Link Here
|
| 241 |
. endif |
241 |
. endif |
| 242 |
|
242 |
|
| 243 |
. if ${php_ARGS:Mcgi} |
243 |
. if ${php_ARGS:Mcgi} |
| 244 |
. if defined(PHP_VERSION) && ${PHP_SAPI:Mcgi} == "" && ${PHP_SAPI:Mfpm} == "" |
244 |
. if defined(PHP_VER) && ${PHP_SAPI:Mcgi} == "" && ${PHP_SAPI:Mfpm} == "" |
| 245 |
check-makevars:: |
245 |
check-makevars:: |
| 246 |
@${ECHO_CMD} "This port requires the CGI version of PHP, but you have already" |
246 |
@${ECHO_CMD} "This port requires the CGI version of PHP, but you have already" |
| 247 |
@${ECHO_CMD} "installed a PHP port without CGI." |
247 |
@${ECHO_CMD} "installed a PHP port without CGI." |
|
Lines 250-256
Link Here
|
| 250 |
. endif |
250 |
. endif |
| 251 |
|
251 |
|
| 252 |
. if ${php_ARGS:Mcli} |
252 |
. if ${php_ARGS:Mcli} |
| 253 |
. if defined(PHP_VERSION) && ${PHP_SAPI:Mcli} == "" |
253 |
. if defined(PHP_VER) && ${PHP_SAPI:Mcli} == "" |
| 254 |
check-makevars:: |
254 |
check-makevars:: |
| 255 |
@${ECHO_CMD} "This port requires the CLI version of PHP, but you have already" |
255 |
@${ECHO_CMD} "This port requires the CLI version of PHP, but you have already" |
| 256 |
@${ECHO_CMD} "installed a PHP port without CLI." |
256 |
@${ECHO_CMD} "installed a PHP port without CLI." |
|
Lines 259-265
Link Here
|
| 259 |
. endif |
259 |
. endif |
| 260 |
|
260 |
|
| 261 |
. if ${php_ARGS:Membed} |
261 |
. if ${php_ARGS:Membed} |
| 262 |
. if defined(PHP_VERSION) && ${PHP_SAPI:Membed} == "" |
262 |
. if defined(PHP_VER) && ${PHP_SAPI:Membed} == "" |
| 263 |
check-makevars:: |
263 |
check-makevars:: |
| 264 |
@${ECHO_CMD} "This port requires the embedded library version of PHP, but you have already" |
264 |
@${ECHO_CMD} "This port requires the embedded library version of PHP, but you have already" |
| 265 |
@${ECHO_CMD} "installed a PHP port without the embedded library." |
265 |
@${ECHO_CMD} "installed a PHP port without the embedded library." |
|
Lines 274-280
Link Here
|
| 274 |
BUILD_DEPENDS+= ${PHPBASE}/include/php/main/php.h:${PHP_PORT} |
274 |
BUILD_DEPENDS+= ${PHPBASE}/include/php/main/php.h:${PHP_PORT} |
| 275 |
. endif |
275 |
. endif |
| 276 |
RUN_DEPENDS+= ${PHPBASE}/include/php/main/php.h:${PHP_PORT} |
276 |
RUN_DEPENDS+= ${PHPBASE}/include/php/main/php.h:${PHP_PORT} |
| 277 |
. if ${php_ARGS:Mmod} || (${php_ARGS:Mweb} && defined(PHP_VERSION) && ${PHP_SAPI:Mcgi} == "" && ${PHP_SAPI:Mfpm} == "") |
277 |
. if ${php_ARGS:Mmod} || (${php_ARGS:Mweb} && defined(PHP_VER) && ${PHP_SAPI:Mcgi} == "" && ${PHP_SAPI:Mfpm} == "") |
| 278 |
USE_APACHE_RUN= 22+ |
278 |
USE_APACHE_RUN= 22+ |
| 279 |
.include "${PORTSDIR}/Mk/Uses/apache.mk" |
279 |
.include "${PORTSDIR}/Mk/Uses/apache.mk" |
| 280 |
# libphpX.so only has the major version number in it, so remove the last digit of PHP_VER to get it. |
280 |
# libphpX.so only has the major version number in it, so remove the last digit of PHP_VER to get it. |