diff --git a/srcpkgs/ImageMagick/template b/srcpkgs/ImageMagick/template index 37a6dba8802..2ef24db7dff 100644 --- a/srcpkgs/ImageMagick/template +++ b/srcpkgs/ImageMagick/template @@ -3,7 +3,7 @@ pkgname=ImageMagick _majorver=7.0.10 _patchver=14 version="${_majorver}.${_patchver}" -revision=1 +revision=2 wrksrc="${pkgname}-${_majorver}-${_patchver}" build_style=gnu-configure configure_args="--without-autotrace --with-wmf=yes @@ -47,6 +47,10 @@ do_check() { } post_install() { + if [ "$CROSS_BUILD" ]; then + vsed -i -e "s,$XBPS_WRAPPERDIR/$XBPS_CROSS_TRIPLET-,,g" \ + $DESTDIR/usr/bin/*-config + fi vlicense LICENSE vlicense NOTICE }