From e984b731a8072ce78a221f99b9096a2281d98eaf Mon Sep 17 00:00:00 2001 From: Eneas U de Queiroz Date: Fri, 26 Feb 2021 13:21:17 -0300 Subject: [PATCH] php7-pecl-imagick: configure --with-imagick=... Add --with-imagick=$(STAGING_DIR)/usr so that configure picks MagickWand-config from there, before it finds an eventual host-installed version. Signed-off-by: Eneas U de Queiroz Signed-off-by: Michael Heimpold (cherry picked from commit f434a33a13454d09fcc287477193b4626c387deb) --- lang/php7-pecl-imagick/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lang/php7-pecl-imagick/Makefile b/lang/php7-pecl-imagick/Makefile index 4582e9373..3036db997 100644 --- a/lang/php7-pecl-imagick/Makefile +++ b/lang/php7-pecl-imagick/Makefile @@ -9,7 +9,7 @@ PECL_NAME:=imagick PECL_LONGNAME:=Image Processing (ImageMagick binding) PKG_VERSION:=3.4.4 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_HASH:=8dd5aa16465c218651fc8993e1faecd982e6a597870fd4b937e9ece02d567077 PKG_NAME:=php7-pecl-imagick @@ -29,5 +29,7 @@ include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/nls.mk include ../php7/pecl.mk +CONFIGURE_ARGS+= --with-imagick="$(STAGING_DIR)/usr" + $(eval $(call PHP7PECLPackage,imagick,$(PECL_LONGNAME),+imagemagick,30)) $(eval $(call BuildPackage,$(PKG_NAME)))