ImageMagick: fix perl module version.

Closes #400.
This commit is contained in:
Leah Neukirchen 2018-06-26 13:52:21 +02:00
parent 7cce72a8e3
commit 027edd3317

View file

@ -3,7 +3,7 @@ pkgname=ImageMagick
_majorver=6.9.10
_patchver=0
version="${_majorver}.${_patchver}"
revision=1
revision=2
wrksrc="${pkgname}-${_majorver}-${_patchver}"
build_style=gnu-configure
configure_args="--without-autotrace --with-wmf=yes
@ -34,6 +34,11 @@ if [ -z "$CROSS_BUILD" ]; then
subpackages+=" libmagick-perl"
fi
post_extract() {
sed -i '/VERSION/s/6\.9A/6.99/g' version.sh PerlMagick/Makefile.PL \
PerlMagick/*/Makefile.PL PerlMagick/quantum/quantum.pm
}
pre_configure() {
autoreconf -if
}