From f84b0c1cc78d0de53c3c145b34376c3cc6f98a9c Mon Sep 17 00:00:00 2001 From: Koop Mast Date: Sat, 25 Jul 2015 09:40:34 +0000 Subject: [PATCH] Catch up with ghostscript changes. --- graphics/ImageMagick7/Makefile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/graphics/ImageMagick7/Makefile b/graphics/ImageMagick7/Makefile index f2b58a3b1c1a..7d54ac72e835 100644 --- a/graphics/ImageMagick7/Makefile +++ b/graphics/ImageMagick7/Makefile @@ -225,7 +225,11 @@ PLIST_SUB+= TIFF="@comment " .if ${PORT_OPTIONS:MGSLIB} CONFIGURE_ARGS+= --with-gslib -USE_GHOSTSCRIPT= yes +. if ${PORT_OPTIONS:MX11} +USES+= ghostscript +. else +USES+= ghostscript:nox11 +. endif .else CONFIGURE_ARGS+= --without-gslib .endif @@ -358,7 +362,7 @@ PLIST_SUB+= PANGO="@comment " # PDF (Adobe Portable Document Format) support .if ${PORT_OPTIONS:MPDF} -USE_GHOSTSCRIPT= yes +USES+= ghostscript .endif .if ! ${PORT_OPTIONS:MX11} @@ -381,7 +385,7 @@ INSTALL_TARGET= install-strip .endif .if ${PORT_OPTIONS:MTESTS} -USE_GHOSTSCRIPT_BUILD=yes +USES+= ghostscript:build .endif .if defined(USER) && ${USER} == kwm