Subject: Re: pkg/33686 (fontconfig-2.3.2 fails build)
To: None <tron@NetBSD.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org,>
From: Matthias Scheler <tron@NetBSD.org>
List: pkgsrc-bugs
Date: 06/28/2006 17:25:02
The following reply was made to PR pkg/33686; it has been noted by GNATS.

From: Matthias Scheler <tron@NetBSD.org>
To: S <scole@sdf.lonestar.org>
Cc: NetBSD GNATS <gnats-bugs@NetBSD.org>
Subject: Re: pkg/33686 (fontconfig-2.3.2 fails build)
Date: Wed, 28 Jun 2006 18:22:57 +0100

 On Wed, Jun 28, 2006 at 01:20:04AM +0000, S wrote:
 > The following reply was made to PR pkg/33686; it has been noted by GNATS.
 > 
 > From: S <scole@sdf.lonestar.org>
 > To: NetBSD GNATS <gnats-bugs@NetBSD.org>
 > Cc: 
 > Subject: Re: pkg/33686 (fontconfig-2.3.2 fails build)
 > Date: Tue, 27 Jun 2006 18:16:27 -0700
 > 
 >  I have freetype2-2.1.4 that came with X11 in /usr/X11R6, and
 >  freetype2-2.2.1 installed from pkgsrc.
 
 There are strange things in the compiler line used on your system:
 
 gcc -pipe -o conftest -O2 -I/Volumes/NetBSD/pkg/include ...
 			    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
 Where does that come from? I'm now seeing that on my system:
 
 gcc -pipe -o conftest -O2 -I/usr/include ...
 
 Questions coming to my mind:
 1.) What "gcc" are you using to build this? I'm using the GCC part of
     Apple's XCode tools. 
 2.) Do you have environmnet variables "CC", "CFLAGS" or "CPPFLAGS" defined?
 3.) What output do the following command produce?
 
 cat >Makefile
 test:
 <tab>echo $(CC) $(CFLAGS) $(CPPFLAGS)
 <ctrl-d>
 bmake test
 make test
 
 	Kind regards
 
 -- 
 Matthias Scheler                                  http://scheler.de/~matthias/