Subject: Re: pkg/30267: the package multimedia/libdv won't compile
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Karl Janmar <karl@utopiafoundation.org>
List: pkgsrc-bugs
Date: 05/18/2005 09:26:01
The following reply was made to PR pkg/30267; it has been noted by GNATS.

From: Karl Janmar <karl@utopiafoundation.org>
To: Thomas Klausner <wiz@NetBSD.org>
Cc: gnats-bugs@NetBSD.org
Subject: Re: pkg/30267: the package multimedia/libdv won't compile
Date: Wed, 18 May 2005 11:25:28 +0200

 Ok, I located the culprit. That user had it's CFLAGS set in the 
 environment, sorry for wasting your time.
 Close this PR.
 - Karl
 
 Thomas Klausner wrote:
 > On Wed, May 18, 2005 at 08:31:00AM +0000, karl@utopiafoundation.org wrote:
 > 
 >>The libdv package won't compile without optimization. There have been a fix for this in the now removed pkgsrc-wip version. There have been similar problems with the FreeBSD port of the package and they have fixed it with similar solution as the one I present.
 > 
 > ...
 > 
 >>+CFLAGS+= -O2
 > 
 > ...
 > 
 > -O2 is in the default CFLAGS for every package. Why is it not in your CFLAGS?
 > Do you have any related settings in /etc/mk.conf?
 >  Thomas