diff --git a/srcpkgs/xdebug8.1/template b/srcpkgs/xdebug8.1/template index 8ab28dd47e1..626a59f7210 100644 --- a/srcpkgs/xdebug8.1/template +++ b/srcpkgs/xdebug8.1/template @@ -4,7 +4,7 @@ version=3.1.5 revision=1 build_style=gnu-configure configure_args="--with-php-config=/usr/bin/php-config8.1" -hostmakedepends="autoconf" +hostmakedepends="autoconf php8.1-devel" makedepends="php8.1-devel" short_desc="PHP debugging extension" maintainer="Joel Beckmeyer " @@ -14,9 +14,9 @@ changelog="https://xdebug.org/updates" distfiles="http://xdebug.org/files/xdebug-${version}.tgz" checksum=55f6ef381245da079b2fc5ce1cfbcb7961197d0c0e04f9d977613cf9aa969a79 -if [ "$CROSS_BUILD" ]; then - hostmakedepends+=" php8.1-devel" -fi +post_extract() { + mv xdebug-$version/* . +} pre_configure() { phpize8.1