[Midnightbsd-cvs] mports [21420] trunk/graphics/ImageMagick/Makefile: fixup ghostscript depends

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sun May 22 17:32:47 EDT 2016


Revision: 21420
          http://svnweb.midnightbsd.org/mports/?rev=21420
Author:   laffer1
Date:     2016-05-22 17:32:47 -0400 (Sun, 22 May 2016)
Log Message:
-----------
fixup ghostscript depends

Modified Paths:
--------------
    trunk/graphics/ImageMagick/Makefile

Modified: trunk/graphics/ImageMagick/Makefile
===================================================================
--- trunk/graphics/ImageMagick/Makefile	2016-05-22 21:31:37 UTC (rev 21419)
+++ trunk/graphics/ImageMagick/Makefile	2016-05-22 21:32:47 UTC (rev 21420)
@@ -354,7 +354,11 @@
 
 # PDF (Adobe Portable Document Format) support
 .if ${PORT_OPTIONS:MPDF}
-USE_GHOSTSCRIPT=	yes
+. if ${PORT_OPTIONS:MX11}
+USES+=			ghostscript:x11
+. else
+USES+=			ghostscript
+. endif
 .endif
 
 .if ! ${PORT_OPTIONS:MX11}
@@ -377,7 +381,11 @@
 .endif
 
 .if ${PORT_OPTIONS:MTESTS}
-USE_GHOSTSCRIPT_BUILD=yes
+. if ${PORT_OPTIONS:MX11}
+USES+=		ghostscript:x11,build
+. else
+USES+=		ghostscript:build
+. endif
 .endif
 
 post-patch:



More information about the Midnightbsd-cvs mailing list