NetBSD Problem Report #6042
Received: (qmail 7805 invoked from network); 25 Aug 1998 22:17:43 -0000
Message-Id: <199808252216.SAA12965@jefferson.cmf.nrl.navy.mil>
Date: Tue, 25 Aug 1998 18:16:45 -0400 (EDT)
From: "David W. Talmage" <talmage@jefferson.cmf.nrl.navy.mil>
Reply-To: talmage@cmf.nrl.navy.mil
To: gnats-bugs@gnats.netbsd.org
Subject: When building magicfilter, the default paper size cannot be changed on the command line
X-Send-Pr-Version: 3.95
>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
>State: closed
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Tue Aug 25 15:20:00 +0000 1998
>Closed-Date: Thu Aug 27 22:13:52 +0000 1998
>Last-Modified: Thu Aug 27 22:16:01 +0000 1998
>Originator: David W. Talmage
>Release: 1.3F
>Organization:
ITT Systems and Sciences Corporation
>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.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback
State-Changed-By: frueauf
State-Changed-When: Thu Aug 27 03:43:38 PDT 1998
State-Changed-Why:
Hello!
Are you sure your pkgsrc is uptodate? The current Makefile of magicfilter does
not set PAPERSIZE at all. Here is the ident string:
pkgsrc/print/magicfilter/Makefile:
$NetBSD: Makefile,v 1.4 1998/07/05 12:27:14 tron Exp $
Can you please update your pkgsrc and report back if the problem
still exists?
Greets
Thorsten
State-Changed-From-To: feedback->closed
State-Changed-By: frueauf
State-Changed-When: Thu Aug 27 15:13:52 PDT 1998
State-Changed-Why:
Thanx for your feedback, I now understand the problem. I set PAPERSIZE?=A4
in the Makefile to make sure that it builds even if the user did not
set PAPERSIZE at all. Note that the prefered way to set PAPERSIZE is
to set it in /etc/mk.conf.
Greets
Thorsten
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.