summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2008-05-23 11:45:52 +0000
committerMartin Matuska <mm@FreeBSD.org>2008-05-23 11:45:52 +0000
commitc48e892fdcbf7f88e6b460fb736ebb37a907145f (patch)
treec880abd1ca9ef8ab97fcaf8c0fce6fa83ba9224b /graphics
parent- Update to 0.9 (diff)
- Disable OpenMP support and enable test suite by default
- Bump PORTREVISION
Notes
Notes: svn path=/head/; revision=213546
Diffstat (limited to 'graphics')
-rw-r--r--graphics/ImageMagick/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/graphics/ImageMagick/Makefile b/graphics/ImageMagick/Makefile
index 6d5c479a569b..1b5ad7973c90 100644
--- a/graphics/ImageMagick/Makefile
+++ b/graphics/ImageMagick/Makefile
@@ -7,6 +7,7 @@
PORTNAME= ImageMagick
DISTVERSION= 6.4.1-3
+PORTREVISION= 1
CATEGORIES= graphics perl5
MASTER_SITES= ftp://ftp.imagemagick.org/pub/ImageMagick/ \
ftp://gd.tuwien.ac.at/pub/graphics/ImageMagick/ \
@@ -49,7 +50,8 @@ LDFLAGS= -L${LOCALBASE}/lib
PLIST_SUB+= PORTVERSION=${PORTVERSION:R}
OPTIONS= X11 "X11 support" on \
- IMAGEMAGICK_TESTS "Run bundled self-tests after build" off \
+ IMAGEMAGICK_TESTS "Run bundled self-tests after build" on \
+ IMAGEMAGICK_OPENMP "Enable OpenMP for SMP" off \
IMAGEMAGICK_PERL "Perl support" on \
IMAGEMAGICK_MODULES "Modules support (broken)" off \
IMAGEMAGICK_BZLIB "Bzlib support" on \
@@ -84,6 +86,12 @@ CONFIGURE_ARGS+= --enable-hdri
CONFIGURE_ARGS+= --disable-hdri
.endif
+.if defined(WITH_IMAGEMAGICK_OPENMP)
+CONFIGURE_ARGS+= --enable-openmp
+.else
+CONFIGURE_ARGS+= --disable-openmp
+.endif
+
.if !defined(WITHOUT_IMAGEMAGICK_PERL)
CONFIGURE_ARGS+= --with-perl=${PERL5}
PLIST_SUB+= WITH_PERL=''