ports/114387: ImageMagick cannot compile with ghostscript-gnu

Takamichi Tateoka tate at tateoka.org
Sat Jul 7 17:00:13 UTC 2007


>Number:         114387
>Category:       ports
>Synopsis:       ImageMagick cannot compile with ghostscript-gnu
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jul 07 17:00:11 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Takamichi Tateoka
>Release:        FreeBSD 6.2-RELEASE-p5 i386
>Organization:
private
>Environment:
System: FreeBSD leaf.mobile.tateoka.org 6.2-RELEASE-p5 FreeBSD 6.2-RELEASE-p5 #1: Fri May 25 02:16:41 JST 2007 tate at leaf.mobile.tateoka.org:/usr/src/sys/i386/compile/GENERIC i386

  Installed ports:
ghostscript-gnu-7.07_16
ghostscript-gnu-commfont-7.07_5
ja-ghostscript-gnu-jpnfont-7.07_5

>Description:

  ImageMagick cannot compile with ghostscript-gnu. It must compile
with ghostscript-afpl.  However, ghostscript-afpl has some problem 
to display Japanese PS files.  At least afpl version cannot handle
a PS file created by ja-dvipsk-tetex-5.95b_9, which is a Japanese 
version of dvips.
  Many (at least Japanese) use can be happy if ImageMagick can compile
with ghostscript-gnu even if PDF support is disabled.

>How-To-Repeat:

# cd /usr/ports/graphics/ImageMagick
# env WITH_GHOSTSCRIPT_GNU=yes make 
===>  ImageMagick-6.3.3.5_1 requires newer version of ghostscript.
*** Error code 1

>Fix:

  With following patch, ghostscript-gnu users can use ImageMagick
without PDF support.

BEGIN--- cut here ---
*** Makefile.DIST	Sun Jul  8 00:01:22 2007
--- Makefile	Sun Jul  8 01:20:09 2007
***************
*** 70,77 ****
  
  .include <bsd.port.pre.mk>
  
! .if defined(WITH_GHOSTSCRIPT_GNU)
! IGNORE=		requires newer version of ghostscript
  .endif
  
  .if !defined(WITHOUT_IMAGEMAGICK_PERL)
--- 70,77 ----
  
  .include <bsd.port.pre.mk>
  
! .if defined(WITH_GHOSTSCRIPT_GNU) && !defined(WITHOUT_IMAGEMAGICK_PDF)
! IGNORE=		requires newer version of ghostscript to use PDF, set WITHOUT_IMAGEMAGICK_PDF
  .endif
  
  .if !defined(WITHOUT_IMAGEMAGICK_PERL)
END--- cut here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list