summaryrefslogtreecommitdiff
path: root/graphics/ImageMagick
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2001-01-23 23:00:25 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2001-01-23 23:00:25 +0000
commit9ed5152dde7b23e334d8ed6abb43ece050653dc2 (patch)
tree3d4de2119a76c115e91871829cd30ffc84c744bf /graphics/ImageMagick
parentThe lile port had a couple of issues with process id's (diff)
Since we don't have our perl threaded by default, PerlMagick not
works. This patch adds --with-threads only when perl is threaded. Fixing Makefile.PL only not helps because libMagick.so linking _require_ -pthread when --with-threads used. Approved by: Maintainer's silence
Notes
Notes: svn path=/head/; revision=37511
Diffstat (limited to 'graphics/ImageMagick')
-rw-r--r--graphics/ImageMagick/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/graphics/ImageMagick/Makefile b/graphics/ImageMagick/Makefile
index 57954028286a..97828fe0ff7a 100644
--- a/graphics/ImageMagick/Makefile
+++ b/graphics/ImageMagick/Makefile
@@ -43,8 +43,11 @@ USE_AUTOCONF= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --enable-shared --without-modules \
- --with-threads --without-magick-plus-plus \
+ --without-magick-plus-plus \
--with-perl=${PERL5} --without-xml
+.if defined(PERL_THREADED) && ${PERL_THREADED} == "true"
+CONFIGURE_ARGS+= --with-threads
+.endif
INSTALLS_SHLIB= yes
.if defined(WITH_16BIT_PIXEL)