diff options
author | ache <ache@FreeBSD.org> | 2001-08-09 08:11:14 +0800 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2001-08-09 08:11:14 +0800 |
commit | fcaba7c735a7b1dced0a2999871195c3e6005b06 (patch) | |
tree | 8e24a2a1c662789e3964cb69f3530204d0272ee5 /graphics/ImageMagick | |
parent | 5afa720c64fb9d528a8d43c011c9f9a8eb7b7ae8 (diff) | |
download | freebsd-ports-graphics-fcaba7c735a7b1dced0a2999871195c3e6005b06.tar.gz freebsd-ports-graphics-fcaba7c735a7b1dced0a2999871195c3e6005b06.tar.zst freebsd-ports-graphics-fcaba7c735a7b1dced0a2999871195c3e6005b06.zip |
Allow more flexible tuning for with/without-threads option
Diffstat (limited to 'graphics/ImageMagick')
-rw-r--r-- | graphics/ImageMagick/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/graphics/ImageMagick/Makefile b/graphics/ImageMagick/Makefile index a3fe28f13c1..838cf220251 100644 --- a/graphics/ImageMagick/Makefile +++ b/graphics/ImageMagick/Makefile @@ -57,7 +57,9 @@ MAN4= miff.4 MAN5= quantize.5 MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} -.if defined(PERL_THREADED) && ${PERL_THREADED} == "true" +# PerlMagick not works with threads, if perl is not threaded, and vice versa +.if defined(WITH_IMAGEMAGICK_THREADS) || \ + defined(PERL_THREADED) && ${PERL_THREADED} == "true" CONFIGURE_ARGS+= --with-threads .else CONFIGURE_ARGS+= --without-threads |