MFH: r474675

print/fig2dev: fix to build, needs some help to really use ghostscript

- GSEXE was not set during build, causing
  fig2dev -L pdf part.fig part.pdf
  to fail like this:
  sh: -q: not found
  Error in ghostcript command
  command was:  -q -sAutoRotatePages=None -dAutoFilterColorImages=false -dColorImageFilter=/DCTEncode -sDEVICE=pdfwrite -dPDFSETTINGS=/prepress -o 'part.pdf' -

Reported by:	Anton Shterenlikht <mexas@bristol.ac.uk>
Approved by:	portmgr	(runtime fix blanket approval)
This commit is contained in:
Kurt Jaeger 2018-07-15 08:25:28 +00:00
parent b0d923a7fa
commit 169a2f3bde
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/branches/2018Q3/; revision=474676
1 changed files with 4 additions and 1 deletions

View File

@ -2,13 +2,15 @@
PORTNAME= fig2dev
PORTVERSION= 3.2.7
PORTREVISION= 1
CATEGORIES= print
MASTER_SITES= SF/mcj/
MAINTAINER= pi@FreeBSD.org
COMMENT= Tools to convert Xfig .fig files
RUN_DEPENDS= ppmtogif:graphics/netpbm
RUN_DEPENDS= ppmtogif:graphics/netpbm \
gs:print/ghostscript9-agpl-base
LIB_DEPENDS= libpng.so:graphics/png
CONFLICTS= transfig-*
@ -17,6 +19,7 @@ USES= alias ghostscript:run iconv tar:xz
CFLAGS+= -Wno-return-type
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-transfig
CONFIGURE_ARGS+= GSEXE=gs
USE_XORG= xpm
.include <bsd.port.mk>