From a1c466d432329d121c954edf1dffcd8716b54faa Mon Sep 17 00:00:00 2001 From: Kurt Jaeger Date: Sun, 15 Jul 2018 08:20:28 +0000 Subject: [PATCH] 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 MFH: 2018q3 --- print/fig2dev/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/print/fig2dev/Makefile b/print/fig2dev/Makefile index 88912dbb4a36..a3f5f7eab8e4 100644 --- a/print/fig2dev/Makefile +++ b/print/fig2dev/Makefile @@ -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