Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Aug 2001 20:44:35 +0400 (MSD)
From:      Dmitry Morozovsky <marck@woozle.rinet.ru>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        marck@rinet.ru
Subject:   bin/29961: A4 paper size for groff knob for /etc/make.conf
Message-ID:  <200108221644.f7MGiZp19480@woozle.rinet.ru>

next in thread | raw e-mail | index | archive | help

>Number:         29961
>Category:       bin
>Synopsis:       A4 paper size for groff knob for /etc/make.conf
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 22 09:50:16 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Morozovsky
>Release:        FreeBSD 4.3-STABLE i386 / FreeBSD-current
>Organization:
Cronyx Plus LLC
>Environment:

Variuos

>Description:

	Outside the US I suppose it is useful to make groff output for A4
paper size. gnu groff already contains the knob needed, so the only thing we
need to do is place it into etc/make.conf. Here is (small and obvious)
patch.

>How-To-Repeat:
	[ empty ]

>Fix:


Index: etc/defaults/make.conf
===================================================================
RCS file: /home/ncvs/src/etc/defaults/make.conf,v
retrieving revision 1.172
diff -u -r1.172 make.conf
--- etc/defaults/make.conf	2001/08/16 06:05:17	1.172
+++ etc/defaults/make.conf	2001/08/22 16:40:02
@@ -231,6 +231,11 @@
 #USA_RESIDENT=		YES
 #
 #
+# Paper size for groff. Default is Letter.
+#
+#PAPERSIZE=	A4
+#
+#
 # Override "don't install a port that's already installed" behavior.
 # One might wish to do this for ports debugging or to unconditionally
 # reinstall a set of suspect/broken ports.
Index: gnu/usr.bin/groff/Makefile.inc
===================================================================
RCS file: /home/ncvs/src/gnu/usr.bin/groff/Makefile.inc,v
retrieving revision 2.5
diff -u -r2.5 Makefile.inc
--- gnu/usr.bin/groff/Makefile.inc	2001/04/17 12:36:30	2.5
+++ gnu/usr.bin/groff/Makefile.inc	2001/08/22 16:40:02
@@ -6,7 +6,11 @@
 # Define `page' to be letter if your PostScript printer uses 8.5x11
 # paper (USA) and define it to be A4, if it uses A4 paper (rest of the
 # world).
+.if defined(PAPERSIZE)
+PAGE=${PAPERSIZE}
+.else
 PAGE=letter
+.endif
 
 # Normally the Postscript driver, grops, produces output that conforms
 # to version 3.0 of the Adobe Document Structuring Conventions.
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200108221644.f7MGiZp19480>