aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormm <mm@FreeBSD.org>2008-05-23 19:45:52 +0800
committermm <mm@FreeBSD.org>2008-05-23 19:45:52 +0800
commit6c85e3feb4eb2ccc83bc1c0bb23d5ab0405e2d9f (patch)
treecc1b37b1686345c833af6021f54d974c76d784f8
parent18522680e73760a6b728e0d367f1053bae9a4e95 (diff)
downloadfreebsd-ports-gnome-6c85e3feb4eb2ccc83bc1c0bb23d5ab0405e2d9f.tar.gz
freebsd-ports-gnome-6c85e3feb4eb2ccc83bc1c0bb23d5ab0405e2d9f.tar.zst
freebsd-ports-gnome-6c85e3feb4eb2ccc83bc1c0bb23d5ab0405e2d9f.zip
- Disable OpenMP support and enable test suite by default
- Bump PORTREVISION
-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=''