Subject: pkg/31102: print/mpage won't compile
To: None <,,>
From: None <>
List: pkgsrc-bugs
Date: 08/30/2005 18:35:00
>Number:         31102
>Category:       pkg
>Synopsis:       print/mpage won't compile
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 30 18:35:00 +0000 2005
>Originator:     Steven M. Bellovin
>Release:        NetBSD 3.99.7
Department of Computer Science, Columbia University
System: NetBSD 3.99.7 NetBSD 3.99.7 (BERKSHIRE) #0: Fri Aug 12 01:48:51 EDT 2005 i386
Architecture: i386
Machine: i386
	Using pkgsrc head, print/mpage won't compile:

	===> Building for mpage-2.5
	 cc -O2 -O2 -s -DPAGE_DEF= -DLIBDIR=\"/usr/pkg/share/mpage\" -DDEFAULT_ENCODING=1
	 glob.c:303: error: parse error before ';' token
	 glob.c:389:16: #if with no expression
	 glob.c:391:16: #if with no expression
	 glob.c:393:16: #if with no expression
	 *** Error code 1

	 make: stopped in /usr/pkgsrc/print/mpage/work/mpage-2.5
	 *** Error code 1

	cd /usr/pkgsrc/print/mpage && make
	The problem is that in Makefile, there is no uncommented
	definition for PAGESIZE.  Either PAGE_LETTER or PAGE_A4
	should be used.