pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/30267: the package multimedia/libdv won't compile



The following reply was made to PR pkg/30267; it has been noted by GNATS.

From: "Jeremy C. Reed" <reed%reedmedia.net@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: Karl Janmar <karl%utopiafoundation.org@localhost>
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/
 
 



Home | Main Index | Thread Index | Old Index