Date: Mon, 7 Jul 2003 05:48:21 -0500 (CDT) From: Alan Amesbury <amesbury@indefi.net> To: FreeBSD-gnats-submit@FreeBSD.org Cc: Alan Amesbury <amesbury@indefi.net> Subject: ports/54173: mpage default page size selection patch Message-ID: <20030707104821.6B4A6305@nemesis.indefi.net> Resent-Message-ID: <200307071050.h67AoFhY038963@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 54173 >Category: ports >Synopsis: mpage default page size selection patch >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Jul 07 03:50:15 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Alan Amesbury >Release: FreeBSD 4.8-RELEASE i386 >Organization: >Environment: System: FreeBSD nemesis.indefi.net 4.8-RELEASE FreeBSD 4.8-RELEASE #3: Wed Apr 9 05:08:41 CDT 2003 root@nemesis.indefi.net:/usr/obj/usr/src/sys/PLANET-SMP i386 >Description: The default page size for the mpage port (print/mpage) is A4. Unfortunately, not everyone prefers that as their default paper size. >How-To-Repeat: Build the print/mpage port. Default page size is A4. >Fix: The following patch allows the default to be changed through arguments to 'make' when the port is built. When no arguments are specified, e.g., 'make all install' is done, the port builds as it does now. Paper size can be specified with 'make PAGESIZE=Letter'. This patch modifies the port's Makefile and files/patch-aa. It works against a recently cvsup'ed (last couple of days) port of print/mpage. ---------- Patch file ---------- --- Makefile.orig Thu Feb 20 12:55:47 2003 +++ Makefile Sat May 24 18:38:26 2003 @@ -4,6 +4,10 @@ # # $FreeBSD: ports/print/mpage/Makefile,v 1.12 2003/02/20 18:55:47 knu Exp $ # +# +# To override mpage's default paper size of A4, set PAGESIZE to another +# page type. Some common values include "Letter" (8.5" x 11") and +# "Legal" (8.5" x 14"). PORTNAME= mpage PORTVERSION= 2.5.3 --- files/patch-aa.orig Thu Nov 7 05:32:00 2002 +++ files/patch-aa Sat May 24 18:35:07 2003 @@ -8,6 +8,15 @@ ############################################################################ # +@@ -40,7 +39,7 @@ + # See glob.c for all possibilities + # + # PAGESIZE=Letter +-PAGESIZE=A4 ++PAGESIZE?=A4 + + # + # Define your spooler type @@ -50,7 +49,6 @@ SPOOL_TYPE=BSD_SPOOLER -------- End patch file -------- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030707104821.6B4A6305>