Introduces USES=php:pecl.
It sets sane defaults when fetching from http://pecl.php.net/. Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D10281
This commit is contained in:
parent
b732d706af
commit
2c5242ce18
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=438174
1 changed files with 12 additions and 0 deletions
|
@ -15,6 +15,7 @@
|
|||
# - mod : Want the Apache Module for PHP.
|
||||
# - web : Want the Apache Module or the CGI version of PHP.
|
||||
# - embed : Want the embedded library version of PHP.
|
||||
# - pecl : Fetches from PECL.
|
||||
#
|
||||
# If the port requires a predefined set of PHP extensions, they can be
|
||||
# listed in this way:
|
||||
|
@ -89,6 +90,17 @@ DEV_WARNING+= "USES=php:phpize is included in USES=php:ext and USES=php:zend, so
|
|||
. if ${php_ARGS:Mext} && ${php_ARGS:Mzend}
|
||||
DEV_WARNING+= "USES=php:ext is included in USES=php:zend, so it is not needed"
|
||||
. endif
|
||||
. if ${php_ARGS:Mext} && ${php_ARGS:Mpecl}
|
||||
DEV_WARNING+= "USES=php:ext is included in USES=php:pecl, so it is not needed"
|
||||
. endif
|
||||
|
||||
. if ${php_ARGS:Mpecl}
|
||||
php_ARGS+= ext
|
||||
EXTRACT_SUFX= .tgz
|
||||
MASTER_SITES= http://pecl.php.net/get/
|
||||
PKGNAMEPREFIX= pecl-
|
||||
DIST_SUBDIR= PECL
|
||||
. endif
|
||||
|
||||
PHPBASE?= ${LOCALBASE}
|
||||
. if exists(${PHPBASE}/etc/php.conf)
|
||||
|
|
Loading…
Reference in a new issue