Subject: pkg/12877: freetype-lib package won't build -- missing -I${LOCALBASE}/include somewhere.
To: None <gnats-bugs@gnats.netbsd.org>
From: Thor Simon <tls@cs.stevens-tech.edu>
List: netbsd-bugs
Date: 05/08/2001 23:20:46
>Number:         12877
>Category:       pkg
>Synopsis:       Trying to build freetype-lib, libintl.h isn't found though it *is* already installed in /usr/pkg/include
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue May 08 20:20:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        20010508
>Organization:
The NetBSD Project
>Environment:
System: NetBSD becasse.cs.stevens-tech.edu 1.5.1_ALPHA NetBSD 1.5.1_ALPHA (BOCK) #16: Wed Feb 28 16:55:59 EST 2001 root@amstel.cs.stevens-tech.edu:/usr/src/sys/arch/i386/compile/BOCK i386


>Description:
Trying to build freetype-lib from today's pkgsrc, I get:

	/usr/pkgobj/graphics/freetype-lib/work.i386/freetype-1.3.1/lib/arch/unix/../../extend/ftxerr18.c:31: libintl.h: No such file or directory
	*** Error code 1

	Stop.

But libintl.h *is* in /usr/pkgsrc/lib!  I note that there is no 
-I/usr/pkg/include on the compile line, so it's not surprising that we're 
losing here.  However, this used to work!  It must have been fairly recently
broken.

>How-To-Repeat:

Check out pkgsrc and try to build freetype-lib (note that it may actually be
missing a dependency on gettext itself, but it doesn't build even if gettext
is installed).

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