svn commit: r54073 - head/share/mk

Marc Fonvieille blackend at FreeBSD.org
Fri Apr 24 08:57:33 UTC 2020


Author: blackend
Date: Fri Apr 24 08:57:32 2020
New Revision: 54073
URL: https://svnweb.freebsd.org/changeset/doc/54073

Log:
  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 at FreeBSD.org>

Modified:
  head/share/mk/doc.commands.mk

Modified: head/share/mk/doc.commands.mk
==============================================================================
--- head/share/mk/doc.commands.mk	Fri Apr 24 00:20:43 2020	(r54072)
+++ head/share/mk/doc.commands.mk	Fri Apr 24 08:57:32 2020	(r54073)
@@ -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}
 
 #


More information about the svn-doc-head mailing list