ports/54926: [PATCH] graphics/ImageMagick: enable choose ofghostscript interpreter
Jens Rehsack
rehsack at liwing.de
Wed Nov 19 11:20:20 UTC 2003
The following reply was made to PR ports/54926; it has been noted by GNATS.
From: Jens Rehsack <rehsack at liwing.de>
To: freebsd-gnats-submit at FreeBSD.org
Cc: rehsack at liwing.de, Kirill Ponomarew <krion at FreeBSD.org>
Subject: Re: ports/54926: [PATCH] graphics/ImageMagick: enable choose of ghostscript
interpreter
Date: Wed, 19 Nov 2003 11:14:24 +0000
This is a multi-part message in MIME format.
--------------020902000103080208060405
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sorry, I missed the feedback request. The patch is attached.
Jens
--------------020902000103080208060405
Content-Type: text/plain;
name="patch-ghostscript-afpl"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="patch-ghostscript-afpl"
Index: graphics/ImageMagick/Makefile
===================================================================
diff -u graphics/ImageMagick/Makefile.orig graphics/ImageMagick/Makefile
--- graphics/ImageMagick/Makefile.orig Wed Nov 5 12:48:09 2003
+++ graphics/ImageMagick/Makefile Wed Nov 5 12:53:12 2003
@@ -213,12 +213,18 @@
.endif
.if defined(NEED_GS)
+.if defined(WITH_GHOSTSCRIPT_AFPL) && ${WITH_GHOSTSCRIPT_AFPL} == yes
+GSPORT?= print/ghostscript-afpl
+.else
+GSPORT?= print/ghostscript-gnu
+.endif
+
.if defined(WITHOUT_X11)
-BUILD_DEPENDS+= gs:${PORTSDIR}/print/ghostscript-gnu-nox11
-RUN_DEPENDS+= gs:${PORTSDIR}/print/ghostscript-gnu-nox11
+BUILD_DEPENDS+= gs:${PORTSDIR}/${GSPORT}-nox11
+RUN_DEPENDS+= gs:${PORTSDIR}/${GSPORT}-nox11
.else
-BUILD_DEPENDS+= gs:${PORTSDIR}/print/ghostscript-gnu
-RUN_DEPENDS+= gs:${PORTSDIR}/print/ghostscript-gnu
+BUILD_DEPENDS+= gs:${PORTSDIR}/${GSPORT}
+RUN_DEPENDS+= gs:${PORTSDIR}/${GSPORT}
.endif
.endif
--------------020902000103080208060405--
More information about the freebsd-ports-bugs
mailing list