Codebase list dh-php / 3fee6cd
Allow overriding PHP_DEFAULT_VERSION Ondřej Surý 3 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
2222 export NO_INTERACTION=1
2323
2424 # Pull the default PHP version from php-config
25 PHP_DEFAULT_VERSION := $(shell php-config --version | sed -e 's,\.[^.]*$$,,')
25 PHP_DEFAULT_VERSION := $(if $(PHP_DEFAULT_VERSION_OVERRIDE),$(PHP_DEFAULT_VERSION_OVERRIDE),$(shell php-config --version | sed -e 's,\.[^.]*$$,,'))
2626
2727 PHP_VERSIONS := $(shell /usr/sbin/phpquery -V)
2828