ImageMagick: enable openmp on musl arches

relocationg errors were fixed in 75fe6cb049
This commit is contained in:
Johannes 2018-10-19 00:17:11 +02:00 committed by Johannes
parent dfd2328965
commit 2e426e219c
1 changed files with 3 additions and 14 deletions

View File

@ -3,7 +3,7 @@ pkgname=ImageMagick
_majorver=7.0.8
_patchver=12
version="${_majorver}.${_patchver}"
revision=2
revision=3
wrksrc="${pkgname}-${_majorver}-${_patchver}"
build_style=gnu-configure
configure_args="--without-autotrace --with-wmf=yes
@ -13,8 +13,8 @@ configure_args="--without-autotrace --with-wmf=yes
--with-dejavu-font-dir=/usr/share/fonts/TTF --enable-opencl --disable-static"
hostmakedepends="automake libtool pkg-config"
makedepends="djvulibre-devel fftw-devel ghostscript-devel glib-devel lcms2-devel
libXt-devel libltdl-devel librsvg-devel libwebp-devel libwmf-devel ocl-icd-devel
pango-devel"
libXt-devel libgomp-devel libltdl-devel librsvg-devel libwebp-devel libwmf-devel
ocl-icd-devel pango-devel"
short_desc="Package for display and interactive manipulation of images"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="ImageMagick"
@ -34,17 +34,6 @@ if [ -z "$CROSS_BUILD" ]; then
subpackages+=" libmagick-perl"
fi
case "$XBPS_TARGET_MACHINE" in
*-musl)
# https://github.com/void-linux/void-packages/issues/3649
# breaks php-imagick
configure_args+=" --disable-openmp"
;;
*)
makedepends+=" libgomp-devel "
;;
esac
pre_configure() {
autoreconf -if
}