ImageMagick: fix order of hostmakedepends

The hostmakedepends+=" perl" was moved after the
hostmakedepends="..." assignment.
This commit is contained in:
Jürgen Buchmüller 2016-03-06 15:21:53 +01:00
parent 7db2a292e3
commit 49ce81296e
1 changed files with 6 additions and 6 deletions

View File

@ -19,12 +19,6 @@ distfiles="ftp://sunsite.icm.edu.pl/packages/${pkgname}/${pkgname}-${_majorver}-
checksum=519b14a5f58f5b55a61bebd378aff63176d8c2e9d1eb23ee332d2cc73d11943f
subpackages="libmagick libmagick-devel"
if [ -z "$CROSS_BUILD" ]; then
# XXX native perl uses XBPS_TARGET_CFLAGS (-mtune=generic)
configure_args+=" --with-perl --with-perl-options=INSTALLDIRS=vendor"
hostmakedepends+=" perl"
subpackages+=" libmagick-perl"
fi
keep_libtool_archives=yes
hostmakedepends="automake pkg-config libtool"
@ -34,6 +28,12 @@ makedepends="libjpeg-turbo-devel libpng-devel tiff-devel
libwmf-devel fftw-devel djvulibre-devel liblzma-devel libgomp-devel
librsvg-devel ghostscript-devel ocl-icd-devel"
conf_files="/etc/ImageMagick-${_majorver%%.*}/*.xml"
if [ -z "$CROSS_BUILD" ]; then
# XXX native perl uses XBPS_TARGET_CFLAGS (-mtune=generic)
configure_args+=" --with-perl --with-perl-options=INSTALLDIRS=vendor"
hostmakedepends+=" perl"
subpackages+=" libmagick-perl"
fi
pre_configure() {
autoreconf -if