kumquat-buildroot/package/php-xdebug/php-xdebug.mk
Fabrice Fontaine 8280400fba package/php-xdebug: bump to version 3.2.0
- Use official tarball
- This bump will fix the following build failure raised since bump of
  php to version 8.2.1 in commit
  90ab065162:

  checking Check for supported PHP versions... configure: error: not supported. Need a PHP version >= 7.2.0 and < 8.2.0 (found 8.2.1)

https://xdebug.org/announcements/2022-12-08
https://xdebug.org/updates#x_3_2_0

Fixes:
 - http://autobuild.buildroot.org/results/092a6d388fc6801c109eb46635e8df80d06a803e

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2023-02-27 16:12:32 +01:00

30 lines
882 B
Makefile

################################################################################
#
# php-xdebug
#
################################################################################
PHP_XDEBUG_VERSION = 3.2.0
PHP_XDEBUG_SOURCE = xdebug-$(PHP_XDEBUG_VERSION).tgz
PHP_XDEBUG_SITE = https://xdebug.org/files
PHP_XDEBUG_INSTALL_STAGING = YES
PHP_XDEBUG_LICENSE = Xdebug License (PHP-3.0-like)
PHP_XDEBUG_LICENSE_FILES = LICENSE
# phpize does the autoconf magic
PHP_XDEBUG_DEPENDENCIES = php host-autoconf
PHP_XDEBUG_CONF_OPTS = \
--enable-xdebug \
--with-php-config=$(STAGING_DIR)/usr/bin/php-config \
--with-xdebug=$(STAGING_DIR)/usr
define PHP_XDEBUG_PHPIZE
(cd $(@D); \
PHP_AUTOCONF=$(HOST_DIR)/bin/autoconf \
PHP_AUTOHEADER=$(HOST_DIR)/bin/autoheader \
$(STAGING_DIR)/usr/bin/phpize)
endef
PHP_XDEBUG_PRE_CONFIGURE_HOOKS += PHP_XDEBUG_PHPIZE
$(eval $(autotools-package))