aboutsummaryrefslogtreecommitdiffstats
path: root/community/php7-pecl-imagick
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2020-03-24 11:56:08 +0100
committerRasmus Thomsen <oss@cogitri.dev>2020-03-24 11:57:09 +0100
commit973ce2254f7d5755753d70f463383f366f23c14d (patch)
treeaa75b05d4381ff661a9382ba586d4d4cbf5ded95 /community/php7-pecl-imagick
parent2e0d736af0229cda9d23b30f23f85ea7bbcc2686 (diff)
downloadaports-973ce2254f7d5755753d70f463383f366f23c14d.tar.bz2
aports-973ce2254f7d5755753d70f463383f366f23c14d.tar.xz
community/php7-pecl-imagick: rebuild against imagemagick 1802
Fixes PHP warning: Version warning: Imagick was compiled against ImageMagick version 1801 but version 1802 is loaded. Imagick will run but may behave surprisingly in Unknown on line 0 Also remove cd "$builddir" so the linter is happy
Diffstat (limited to 'community/php7-pecl-imagick')
-rw-r--r--community/php7-pecl-imagick/APKBUILD7
1 files changed, 1 insertions, 6 deletions
diff --git a/community/php7-pecl-imagick/APKBUILD b/community/php7-pecl-imagick/APKBUILD
index d880aafe3e..91655c8548 100644
--- a/community/php7-pecl-imagick/APKBUILD
+++ b/community/php7-pecl-imagick/APKBUILD
@@ -3,7 +3,7 @@
pkgname=php7-pecl-imagick
_pkgreal=imagick
pkgver=3.4.4
-pkgrel=2
+pkgrel=3
pkgdesc="PHP extension provides a wrapper to the ImageMagick library - PECL"
url="https://pecl.php.net/package/imagick"
arch="all"
@@ -24,16 +24,12 @@ replaces="php7-imagick" # for backward compatibility
# - CVE-2019-11037
build() {
- cd "$builddir"
-
phpize7
./configure --prefix=/usr --with-php-config=php-config7
make
}
check() {
- cd "$builddir"
-
rm tests/150_Imagick_setregistry.phpt # no exception thrown
rm tests/229_Tutorial_fxAnalyzeImage_case1.phpt # time out
rm tests/236_Imagick_identify_basic.phpt # coredump https://bugs.php.net/bug.php?id=59444
@@ -43,7 +39,6 @@ check() {
package() {
local confdir="$pkgdir/etc/php7/conf.d"
- cd "$builddir"
make INSTALL_ROOT="$pkgdir" install