aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authormm <mm@FreeBSD.org>2010-05-12 23:07:14 +0800
committermm <mm@FreeBSD.org>2010-05-12 23:07:14 +0800
commit13a68fb8bcac104886b0da82afdfb620d307ab89 (patch)
tree0800dceef66252be7c489eb663cbc5a5444bae31 /graphics
parent0174098dcdcecc7fcd7fbac1f4d26e870f46e5f9 (diff)
downloadfreebsd-ports-gnome-13a68fb8bcac104886b0da82afdfb620d307ab89.tar.gz
freebsd-ports-gnome-13a68fb8bcac104886b0da82afdfb620d307ab89.tar.zst
freebsd-ports-gnome-13a68fb8bcac104886b0da82afdfb620d307ab89.zip
- Add missing support knob for FFTW and enable by default
- Bump PORTREVISION PR: ports/146514 Submitted by: swell.k@gmail.com
Diffstat (limited to 'graphics')
-rw-r--r--graphics/ImageMagick/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/graphics/ImageMagick/Makefile b/graphics/ImageMagick/Makefile
index d9ca812cc72e..50fb4f61f568 100644
--- a/graphics/ImageMagick/Makefile
+++ b/graphics/ImageMagick/Makefile
@@ -7,6 +7,7 @@
PORTNAME= ImageMagick
DISTVERSION= 6.6.0-10
+PORTREVISION= 1
CATEGORIES= graphics perl5
MASTER_SITES= ftp://ftp.imagemagick.org/pub/ImageMagick/ \
ftp://ftp.nluug.nl/pub/ImageMagick/ \
@@ -63,7 +64,8 @@ OPTIONS= X11 "X11 support" on \
IMAGEMAGICK_SVG "SVG format support" off \
IMAGEMAGICK_PDF "PDF format support" on \
IMAGEMAGICK_GSLIB "libgs (Postscript SHLIB) support" off \
- IMAGEMAGICK_LQR "Liquid Rescale support" on
+ IMAGEMAGICK_LQR "Liquid Rescale support" on \
+ IMAGEMAGICK_FFTW "Discrete Fourier Transform support" on
.include <bsd.port.pre.mk>
@@ -186,6 +188,13 @@ LIB_DEPENDS+= lqr-1.3:${PORTSDIR}/graphics/liblqr-1
CONFIGURE_ARGS+= --without-lqr
.endif
+.if !defined(WITHOUT_IMAGEMAGICK_FFTW)
+CONFIGURE_ARGS+= --with-fftw
+LIB_DEPENDS+= fftw3.5:${PORTSDIR}/math/fftw3
+.else
+CONFIGURE_ARGS+= --without-fftw
+.endif
+
# Produce BZip compressed MIFF images
.if defined(WITHOUT_IMAGEMAGICK_BZLIB)
CONFIGURE_ARGS+= --without-bzlib