aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2007-04-03 07:01:25 +0800
committerpav <pav@FreeBSD.org>2007-04-03 07:01:25 +0800
commitd1d7385980f530f317ad994c4fab794b8e700331 (patch)
tree2c0aa65bb26b702a438ef3e26d8f806c9ec5266b /graphics
parent2b7cd64ed67427cd482b5075828f55e5607bad7c (diff)
downloadfreebsd-ports-gnome-d1d7385980f530f317ad994c4fab794b8e700331.tar.gz
freebsd-ports-gnome-d1d7385980f530f317ad994c4fab794b8e700331.tar.zst
freebsd-ports-gnome-d1d7385980f530f317ad994c4fab794b8e700331.zip
- Re-enable PDF support now when default Ghostscript is -gpl
Submitted by: rafan
Diffstat (limited to 'graphics')
-rw-r--r--graphics/ImageMagick/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/graphics/ImageMagick/Makefile b/graphics/ImageMagick/Makefile
index 726da4034156..f4fa7f3b7100 100644
--- a/graphics/ImageMagick/Makefile
+++ b/graphics/ImageMagick/Makefile
@@ -64,12 +64,16 @@ OPTIONS= X11 "X11 support" on \
IMAGEMAGICK_DOT "GraphViz dot graphs support" off \
IMAGEMAGICK_WMF "WMF format support" off \
IMAGEMAGICK_SVG "SVG format support" off \
- IMAGEMAGICK_PDF "PDF format support" off \
+ IMAGEMAGICK_PDF "PDF format support" on \
IMAGEMAGICK_MPEG2 "MPEG2 format support" on \
IMAGEMAGICK_GSLIB "libgs (Postscript SHLIB) support" off
.include <bsd.port.pre.mk>
+.if defined(WITH_GHOSTSCRIPT_GNU)
+IGNORE= requires newer version of ghostscript
+.endif
+
.if !defined(WITHOUT_IMAGEMAGICK_PERL)
CONFIGURE_ARGS+= --with-perl=${PERL5}
PLIST_SUB+= WITH_PERL=''
@@ -142,7 +146,6 @@ PLIST_SUB+= TIFF="@comment "
.if defined(WITH_IMAGEMAGICK_GSLIB)
CONFIGURE_ARGS+= --with-gslib
USE_GHOSTSCRIPT= yes
-WITH_GHOSTSCRIPT_AFPL= yes
.else
CONFIGURE_ARGS+= --without-gslib
.endif
@@ -249,9 +252,8 @@ CONFIGURE_ARGS+= --without-rsvg
.endif
# PDF (Adobe Portable Document Format) support
-.if defined(WITH_IMAGEMAGICK_PDF)
+.if !defined(WITHOUT_IMAGEMAGICK_PDF)
USE_GHOSTSCRIPT= yes
-WITH_GHOSTSCRIPT_AFPL= yes
.endif
.if defined(WITHOUT_X11)