aboutsummaryrefslogtreecommitdiffstats
path: root/community/php7-pecl-gmagick/APKBUILD
diff options
context:
space:
mode:
authorAndy Postnikov <apostnikov@gmail.com>2019-12-03 23:40:38 +0200
committerAndy Postnikov <apostnikov@gmail.com>2019-12-03 23:55:07 +0200
commit481a30a3e50a9b0ea5b392bdc32f351955321fb3 (patch)
tree937997db094c017dd62540700474591f2b507efe /community/php7-pecl-gmagick/APKBUILD
parent8f1235571e84d31148e505a94914db91947e5ed8 (diff)
downloadaports-481a30a3e50a9b0ea5b392bdc32f351955321fb3.tar.gz
aports-481a30a3e50a9b0ea5b392bdc32f351955321fb3.tar.bz2
aports-481a30a3e50a9b0ea5b392bdc32f351955321fb3.tar.xz
community/php7-pecl-gmagick: disable 2 broken tests for x86
Diffstat (limited to 'community/php7-pecl-gmagick/APKBUILD')
-rw-r--r--community/php7-pecl-gmagick/APKBUILD9
1 files changed, 6 insertions, 3 deletions
diff --git a/community/php7-pecl-gmagick/APKBUILD b/community/php7-pecl-gmagick/APKBUILD
index 57317b963c..a1b3b0ac36 100644
--- a/community/php7-pecl-gmagick/APKBUILD
+++ b/community/php7-pecl-gmagick/APKBUILD
@@ -17,7 +17,6 @@ provides="php7-gmagick=$pkgver-r$pkgrel" # for backward compatibility
replaces="php7-gmagick" # for backward compatibility
build() {
- cd "$builddir"
phpize7
./configure \
--prefix=/usr \
@@ -26,12 +25,16 @@ build() {
}
check() {
- cd "$builddir"
+ if [ "$CARCH" = "x86" ]; then
+ # https://gitlab.alpinelinux.org/alpine/aports/issues/11011
+ rm -f \
+ tests/gmagick-107_setimagevirtualpixelmethod.phpt \
+ tests/gmagick-116_waveImage_basic.phpt
+ fi
make NO_INTERACTION=1 REPORT_EXIT_STATUS=1 test
}
package() {
- cd "$builddir"
make INSTALL_ROOT="$pkgdir" install
install -d "$pkgdir"/etc/php7/conf.d
echo "extension=$_pkgreal.so" > "$pkgdir"/etc/php7/conf.d/$_pkgreal.ini