Subject: pkg/17047: mkfontscale build fails
To: None <gnats-bugs@gnats.netbsd.org>
From: None <jaco@teaser.fr>
List: netbsd-bugs
Date: 05/26/2002 19:19:58
>Number:         17047
>Category:       pkg
>Synopsis:       Building mkfontscale complains about not finding freetype2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun May 26 10:21:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Eric Jacoboni
>Release:        NetBSD 1.6A
>Organization:
None	
>Environment:
System: NetBSD titine.scrogneugneu.org 1.6A NetBSD 1.6A (TITINE-Revision: 1.491 $) #45: Wed May 22 16:56:42 CEST 2002 root@titine.scrogneugneu.org:/usr/src.cvsup/sys/arch/i386/compile/TITINE i386
Architecture: i386
Machine: i386
>Description:
The make command fails when trying to build mkfontscale package. The line
that precisely fails is:

gccmakedep -f-  -- /freetype2 -I/usr/local/src/XFree86/xc/exports/include  -I/usr/X11R6/include

(note the /freetype2...) 
>How-To-Repeat:
Try to make mkfontscale without using xpkgwedge.
>Fix:
The maintainer has suggested me to add :
MAKE_FLAGS+=	TOP_X_INCLUDES=-I${X11BASE}/include
to the package Makefile. It solves the problem.

>Release-Note:
>Audit-Trail:
>Unformatted: