2019-10-25 20:22:49 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# php-xdebug
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2023-09-05 20:06:09 +02:00
|
|
|
PHP_XDEBUG_VERSION = 3.2.2
|
2023-02-26 11:22:23 +01:00
|
|
|
PHP_XDEBUG_SOURCE = xdebug-$(PHP_XDEBUG_VERSION).tgz
|
|
|
|
PHP_XDEBUG_SITE = https://xdebug.org/files
|
2019-10-25 20:22:49 +02:00
|
|
|
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 \
|
package/php-xdebug: drop unrecognized variable
--with-xdebug is not recognized since the addition of the package in
commit 7b7dffd0984e1b274273f5638a975165606384f9:
configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --disable-dependency-tracking, --enable-ipv6, --disable-nls, --with-xdebug
Fixes: 7b7dffd0984e1b274273f5638a975165606384f9
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 98ee9f8b49ebd7aa6d9dc2c726030ec396910f6c)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-03-30 10:03:34 +01:00
|
|
|
--with-php-config=$(STAGING_DIR)/usr/bin/php-config
|
2019-10-25 20:22:49 +02:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2024-03-30 10:03:35 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_ZLIB),y)
|
|
|
|
PHP_XDEBUG_CONF_OPTS += --with-xdebug-compression
|
|
|
|
PHP_XDEBUG_DEPENDENCIES += zlib
|
|
|
|
else
|
|
|
|
PHP_XDEBUG_CONF_OPTS += --without-xdebug-compression
|
|
|
|
endif
|
|
|
|
|
2019-10-25 20:22:49 +02:00
|
|
|
$(eval $(autotools-package))
|