php7-pecl-imagick: configure --with-imagick=... 14914/head
authorEneas U de Queiroz <cotequeiroz@gmail.com>
Fri, 26 Feb 2021 16:21:17 +0000 (13:21 -0300)
committerEneas U de Queiroz <cotequeiroz@gmail.com>
Mon, 1 Mar 2021 01:30:11 +0000 (22:30 -0300)
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 <cotequeiroz@gmail.com>
lang/php7-pecl-imagick/Makefile

index 4582e9373514a9befac6f8462a5b54140497a402..3036db997df127476bd57f3c264397b23c6fa986 100644 (file)
@@ -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)))