Subject: pkg/6042: When building magicfilter, the default paper size cannot be changed on the command line
To: None <gnats-bugs@gnats.netbsd.org>
From: David W. Talmage <talmage@jefferson.cmf.nrl.navy.mil>
List: netbsd-bugs
Date: 08/25/1998 18:16:45
>Number:         6042
>Category:       pkg
>Synopsis:       When building magicfilter, the default paper size cannot be changed on the command line
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 25 15:20:00 1998
>Last-Modified:
>Originator:     David W. Talmage
>Organization:
ITT Systems and Sciences Corporation
>Release:        1.3F
>Environment:

System: NetBSD jefferson 1.3F NetBSD 1.3F (THECHONG) #9: Mon Aug 3 16:15:02 PDT 1998 talmage@thechong:/usr/src/sys/arch/i386/compile/THECHONG i386


>Description:

	When building magicfilter 1.2, there is no way to change the
	default paper size on the command line.  You can do it by
	editing the Makefile but that isn't consistent with the Makefile
	of a2ps, a package on which magicfilter depends.  When making a2ps,
	you can	specify the paper size on the command line:

		make PAPERSIZE=Letter

	The default paper size for magicfilter is A4.  This is fine if
	you use A4 paper.  It's not fine if you use US Letter paper.

>How-To-Repeat:
	make

	or

	make PAPERSIZE=Letter

	Either one builds magicfilter for A4 paper.

>Fix:
	Change the second line of pkgsrc/print/magicfilter/Makefile from

	PAPERSIZE=	A4

	to

	PAPERSIZE?=	A4

	Then 'make PAPERSIZE=Letter' will work as expected.
>Audit-Trail:
>Unformatted: