aboutsummaryrefslogtreecommitdiff
path: root/Mk/bsd.php.mk
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2010-07-27 15:13:54 +0000
committerAlex Dupre <ale@FreeBSD.org>2010-07-27 15:13:54 +0000
commit49a746ede788f5fcf95cd62f98fd891625d15840 (patch)
treef774949ed5b9db04e5310ffa8f9254c07cc012f3 /Mk/bsd.php.mk
parent31da751ef4d9e4bcd2b72292e49d65314f04ba78 (diff)
downloadports-49a746ede788f5fcf95cd62f98fd891625d15840.tar.gz
ports-49a746ede788f5fcf95cd62f98fd891625d15840.zip
Notes
Diffstat (limited to 'Mk/bsd.php.mk')
-rw-r--r--Mk/bsd.php.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mk/bsd.php.mk b/Mk/bsd.php.mk
index 0a2d70576061..4a23315074fd 100644
--- a/Mk/bsd.php.mk
+++ b/Mk/bsd.php.mk
@@ -102,7 +102,7 @@ check-makevars::
@${ECHO_CMD} "or WANT_PHP_MOD. Use only one of them."
@${FALSE}
. else
-. if defined(PHP_VERSION) && ${PHP_SAPI:Mcgi} == "" && ${PHP_SAPI:Mmod} == ""
+. if defined(PHP_VERSION) && ${PHP_SAPI:Mcgi} == "" && ${PHP_SAPI:Mfpm} == "" && ${PHP_SAPI:Mmod} == ""
check-makevars::
@${ECHO_CMD} "This port requires the Apache Module or the CGI version of PHP, but you have"
@${ECHO_CMD} "already installed a PHP port without them."
@@ -112,7 +112,7 @@ check-makevars::
.else
.if defined(WANT_PHP_CGI)
-. if defined(PHP_VERSION) && ${PHP_SAPI:Mcgi} == ""
+. if defined(PHP_VERSION) && ${PHP_SAPI:Mcgi} == "" && ${PHP_SAPI:Mfpm} == ""
check-makevars::
@${ECHO_CMD} "This port requires the CGI version of PHP, but you have already"
@${ECHO_CMD} "installed a PHP port without CGI."