Subject: Re: pkg/34379: graphics/MesaLib build fails
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Juan RP <juan@xtrarom.org>
List: pkgsrc-bugs
Date: 08/29/2006 20:00:10
The following reply was made to PR pkg/34379; it has been noted by GNATS.

From: Juan RP <juan@xtrarom.org>
To: gnats-bugs@NetBSD.org
Cc: "Jake Kupersmith" <jakerosoft@gmail.com>
Subject: Re: pkg/34379: graphics/MesaLib build fails
Date: Tue, 29 Aug 2006 21:56:08 +0200

 On Tue, 29 Aug 2006 19:55:02 +0000 (UTC)
 "Jake Kupersmith" <jakerosoft@gmail.com> wrote:
 
 > The following reply was made to PR pkg/34379; it has been noted by GNATS.
 > 
 > From: "Jake Kupersmith" <jakerosoft@gmail.com>
 > To: gnats-bugs@netbsd.org
 > Cc: 
 > Subject: Re: pkg/34379: graphics/MesaLib build fails
 > Date: Tue, 29 Aug 2006 15:53:42 -0400
 > 
 >  I thought the CFLAGS= line may be the cause of the problem... but
 >  after changing 'CFLAGS=' to 'CFLAGS+=' i experienced the same
 >  problems...
 >  
 >  Here is my mk.conf...
 >  
 >  .ifdef BSD_PKG_MK
 >  LOCALBASE=/usr/local
 >  WRKOBJDIR=/home/pkgsrc/work
 >  DISTDIR=/home/pkgsrc/distfiles
 >  PKGVULNDIR=${LOCALBASE}/etc
 >  
 >  UPDATE_TARGET=package
 >  PACKAGES=/home/pkgsrc/packages
 >  
 >  CFLAGS=-mcpu=pentium4
 >  CXXFLAGS=${CFLAGS}
 >  FFLAGS=${CFLAGS}
 >  
 >  PKG_OPTIONS.perl=threads
 >  PKG_OPTIONS.vim=cscope
 >  PKG_OPTIONS.freetype2=truetype
 >  
 >  .endif
 
 You are using CXXFLAGS and CFLAGS incorrectly, you'd have to use
 FOO+= to not override package settings.