diff options
author | Alex Dupre <ale@FreeBSD.org> | 2004-07-19 23:25:22 +0000 |
---|---|---|
committer | Alex Dupre <ale@FreeBSD.org> | 2004-07-19 23:25:22 +0000 |
commit | ae5859d055c686a166deb3157fd7842071a00d0e (patch) | |
tree | 05fad60f9cf94b59efac054492ddf537188b8cf9 /Mk | |
parent | 0d70de7bee3230822a51121cdf8259584dff3467 (diff) |
Notes
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.php.mk | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Mk/bsd.php.mk b/Mk/bsd.php.mk index f76abbe07bbc..231067cd1886 100644 --- a/Mk/bsd.php.mk +++ b/Mk/bsd.php.mk @@ -17,6 +17,8 @@ # # The port can set these options in its Makefile before bsd.ports.pre.mk: # +# DEFAULT_PHP_VER=N - Use PHP version N if PHP is not yet installed. +# BROKEN_WITH_PHP=N - The port doesn't work with PHP version N. # USE_PHPIZE=yes - Use to build a PHP extension. # USE_PHPEXT=yes - Use to build, install and register a PHP extension. # USE_PHP_BUILD=yes - Set PHP also as a build dependency. @@ -37,9 +39,15 @@ PHP_Include_MAINTAINER= ale@FreeBSD.org .include "${LOCALBASE}/etc/php.conf" .endif -PHP_VER?= 4 +DEFAULT_PHP_VER?= 4 + +PHP_VER?= ${DEFAULT_PHP_VER} .if !defined(PHP_EXT_DIR) +.if ${PHP_VER} == 4 PHP_EXT_DIR= 20020429 +.else +PHP_EXT_DIR= 20040412 +.endif .if exists(${LOCALBASE}/include/apache2/httpd.h) APACHE_MPM!= ${APXS} -q MPM_NAME .if ${APACHE_MPM} == "worker" |