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:22: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:21:44 +0200

 My mk.conf looks like this:
 ACCEPTABLE_LICENSES+=shareware
 COPTS+=-march=pentium4
 ACCEPTABLE_LICENSES+=adobe-acrobat-license
 ACCEPTABLE_LICENSES+=jdk13-license
 
 But according to the manual COPTS+= won't override any default setting?
 - 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