[packages/php-pecl-imagick/im6: 2/2] create im root dir for config.m4
glen
glen at pld-linux.org
Mon Sep 24 20:16:55 CEST 2018
commit 2846cc539026989758638be8062888ca3b5f06d9
Author: Elan Ruusamäe <glen at pld-linux.org>
Date: Thu Oct 26 21:17:05 2017 +0300
create im root dir for config.m4
php-pecl-imagick.spec | 7 +++++++
1 file changed, 7 insertions(+)
---
diff --git a/php-pecl-imagick.spec b/php-pecl-imagick.spec
index f8dff05..9a661bd 100644
--- a/php-pecl-imagick.spec
+++ b/php-pecl-imagick.spec
@@ -106,8 +106,15 @@ Test ImagickPixelIterator, setIteratorRow [tests/251_ImagickPixelIterator_setIte
%endif
%build
+# fake root, too annoying to patch
+install -d im-root/bin
+for p in MagickWand Wand; do
+ ln -snf %{_bindir}/${p}6-config im-root/bin/${p}-config
+done
+
phpize
%configure \
+ --with-imagick=`pwd`/im-root \
php_cv_cc_dashr=false
%{__make} \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php-pecl-imagick.git/commitdiff/2846cc539026989758638be8062888ca3b5f06d9
More information about the pld-cvs-commit
mailing list