svn commit: r474675 - head/print/fig2dev
Kurt Jaeger
pi at FreeBSD.org
Sun Jul 15 08:20:29 UTC 2018
Author: pi
Date: Sun Jul 15 08:20:28 2018
New Revision: 474675
URL: https://svnweb.freebsd.org/changeset/ports/474675
Log:
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 at bristol.ac.uk>
MFH: 2018q3
Modified:
head/print/fig2dev/Makefile
Modified: head/print/fig2dev/Makefile
==============================================================================
--- head/print/fig2dev/Makefile Sun Jul 15 08:17:42 2018 (r474674)
+++ head/print/fig2dev/Makefile Sun Jul 15 08:20:28 2018 (r474675)
@@ -2,13 +2,15 @@
PORTNAME= fig2dev
PORTVERSION= 3.2.7
+PORTREVISION= 1
CATEGORIES= print
MASTER_SITES= SF/mcj/
MAINTAINER= pi at 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>
More information about the svn-ports-all
mailing list