mirror of
https://github.com/openwrt/packages.git
synced 2026-04-15 19:02:09 +00:00
* Add a needed BUILD_DEPENDENCY on icu package, when PHP8_INTL is defined. * Make PHP8_DOM selecting PHP8_LIBXML instead of depending on it. * PHP8_INTL does not depend on PHP8_GETTEXT, it builds also without gettext. * Always show option for choosing PHP8_FULLUCIDATA * For php8-cgi, php-cli, etc, a libstdcpp dependency is only gained when PHP8_INTL is selected, therefore update those conditional depends. As some combinations of these changes can change the binaries output, PKG_RELEASE has been bumped. Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca> Signed-off-by: Michael Heimpold <mhei@heimpold.de>
56 lines
1.9 KiB
Plaintext
56 lines
1.9 KiB
Plaintext
menu "Configuration"
|
|
depends on PACKAGE_php8
|
|
|
|
config PHP8_LIBXML
|
|
bool "PHP8 LIBXML support"
|
|
default y
|
|
|
|
config PHP8_DOM
|
|
bool "PHP8 DOM support"
|
|
select PHP8_LIBXML
|
|
default y
|
|
help
|
|
Without php8-mod-dom, this option does not provide a PHP8
|
|
programmer the XML DOM functionality (it only adds DOM for internal
|
|
use by php-cli, php-cgi, etc.). Therefore please consider adding
|
|
php8-mod-dom to provide this functionality to PHP8 consumers.
|
|
|
|
config PHP8_SYSTEMTZDATA
|
|
bool "Use system timezone data instead of php's built-in database"
|
|
depends on PACKAGE_php8-cli || PACKAGE_php8-cgi || PACKAGE_apache-mod-php8
|
|
default y
|
|
help
|
|
Enabling this feature automatically selects the zoneinfo-core package
|
|
which contains data for UTC timezone. To use other timezones you have
|
|
to install the corresponding zoneinfo-... package(s).
|
|
|
|
config PHP8_GETTEXT
|
|
bool "Enable gettext"
|
|
default y
|
|
help
|
|
Without php8-mod-gettext, this option does not provide a PHP8
|
|
programmer the gettext functionality (it only adds gettext for internal
|
|
use by php-cli, php-cgi, etc.). Therefore please consider adding
|
|
php8-mod-gettext to provide this functionality to PHP8 consumers.
|
|
|
|
config PHP8_INTL
|
|
bool "Enable Internationalization"
|
|
default y
|
|
help
|
|
Note that this option depends in ICU library which is built without data
|
|
by default. This is to satisfy programs build and run dependencies but to
|
|
keep the installed footprint small on the target system(s).
|
|
However, the data is required to make the ICU library useful - and thus
|
|
directly affects PHPs intl extension, too - so consider to also
|
|
select PHP8_FULLICUDATA.
|
|
Without php8-mod-intl, this option does not provide a PHP8
|
|
programmer the intl functionality (it only adds intl for internal
|
|
use by php-cli, php-cgi, etc.). Therefore please consider adding
|
|
php8-mod-intl to provide this functionality to PHP8 consumers.
|
|
|
|
config PHP8_FULLICUDATA
|
|
bool "Add dependency to full ICU Data"
|
|
default n
|
|
|
|
endmenu
|