Set papersize to A4 as a workaround to the generation of empty .eps

files that may occur under certain circumstances.  This is only
used to generate images with boundingboxes.
Related to ports Bug 234126.

Obtained from: Dima Panov <fluffy@FreeBSD.org>
This commit is contained in:
Marc Fonvieille 2020-04-24 08:57:32 +00:00
parent 2e68cafd01
commit 673fc77897
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=54073

View file

@ -139,15 +139,15 @@ PNMTOPSOPTS?= -noturn ${PNMTOPSFLAGS}
EPSTOPDF?= ${PREFIX}/bin/epstopdf
EPSTOPDFOPTS?= ${EPSTOPDFFLAGS}
#
PIC2PS?= ${GROFF} -p -S -Wall -mtty-char -man
PIC2PS?= ${GROFF} -p -P-pa4 -S -Wall -mtty-char -man
#
PS2EPS?= ${PREFIX}/bin/gs
PS2EPSOPTS?= -q -dNOPAUSE -dSAFER -dDELAYSAFER \
-sPAPERSIZE=letter -r72 -sDEVICE=bit \
-sPAPERSIZE=a4 -r72 -sDEVICE=bit \
-sOutputFile=/dev/null ${PS2EPSFLAGS} ps2epsi.ps
PS2BBOX?= ${PREFIX}/bin/gs
PS2BBOXOPTS?= -q -dNOPAUSE -dBATCH -dSAFER -dDELAYSAFER \
-sPAPERSIZE=letter -r72 -sDEVICE=bbox \
-sPAPERSIZE=a4 -r72 -sDEVICE=bbox \
-sOutputFile=/dev/null ${PS2BBOXFLAGS}
#