Subject: Re: pkg/30267: the package multimedia/libdv won't compile
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Jeremy C. Reed <reed@reedmedia.net>
List: pkgsrc-bugs
Date: 05/18/2005 15:38:01
The following reply was made to PR pkg/30267; it has been noted by GNATS.
From: "Jeremy C. Reed" <reed@reedmedia.net>
To: gnats-bugs@netbsd.org
Cc: Karl Janmar <karl@utopiafoundation.org>
Subject: Re: pkg/30267: the package multimedia/libdv won't compile
Date: Wed, 18 May 2005 08:36:07 -0700 (PDT)
On Wed, 18 May 2005, Karl Janmar wrote:
> Ok, I located the culprit. That user had it's CFLAGS set in the
> environment, sorry for wasting your time.
> Close this PR.
This PR should not be closed.
We can't assume that DBG or CFLAGS contains it.
I had same problem and discussions about this with tech-pkg-ja@ in
February,
For now I have:
+CFLAGS+= -O
But Osamu OISHI told me that is not acceptable because reduces execution
speed and suggested:
+.if !empty(MACHINE_PLATFORM:MLinux-*-*)
+CFLAGS+= -O
+.endif
But that is wrong because it is not platform specific.
Juan later suggested:
http://mail-index.netbsd.org/tech-pkg/2005/02/10/0030.html
.if empty(CFLAGS:M-O*)
CFLAGS+= -O
.endif
But I need to test this.
Jeremy C. Reed
BSD News, BSD tutorials, BSD links
http://www.bsdnewsletter.com/