summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2001-08-09 00:11:14 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2001-08-09 00:11:14 +0000
commit2175103362f499ca9e2edd1213ea27589a83d89d (patch)
tree795f4e4f64abc9f5eeaed484139992713aa2b3b1 /graphics
parentUpgrade to version 1.84. (diff)
Allow more flexible tuning for with/without-threads option
Notes
Notes: svn path=/head/; revision=45993
Diffstat (limited to 'graphics')
-rw-r--r--graphics/ImageMagick/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/graphics/ImageMagick/Makefile b/graphics/ImageMagick/Makefile
index a3fe28f13c19..838cf220251f 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