mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Fixes the dependecies for ports that have pcre and spl listed in USE_PHP for
the case when php 5 is already installed. This version of php includes them.
This commit is contained in:
parent
b53cea3abd
commit
84c86c0f61
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=252504
1 changed files with 5 additions and 1 deletions
|
@ -41,6 +41,10 @@ PHPBASE?= ${LOCALBASE}
|
|||
.if exists(${PHPBASE}/etc/php.conf)
|
||||
.include "${PHPBASE}/etc/php.conf"
|
||||
PHP_EXT_DIR!= ${PHPBASE}/bin/php-config --extension-dir | ${SED} -ne 's,^${PHPBASE}/lib/php/\(.*\),\1,p'
|
||||
.if ${PHP_VER} == 5
|
||||
PHP_EXT_INC= pcre spl
|
||||
.endif
|
||||
|
||||
.else
|
||||
DEFAULT_PHP_VER?= 5
|
||||
|
||||
|
@ -73,7 +77,7 @@ PHP_EXT_DIR:= ${PHP_EXT_DIR}-zts
|
|||
PHP_EXT_DIR:= ${PHP_EXT_DIR}-debug
|
||||
.endif
|
||||
PHP_SAPI?= ""
|
||||
.endif
|
||||
.endif # .if exists(${PHPBASE}/etc/php.conf)
|
||||
PHP_EXT_INC?= ""
|
||||
|
||||
# compatability shim
|
||||
|
|
Loading…
Add table
Reference in a new issue