pkgsrc-Bugs archive

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

Re: pkg/49000 (mail/akonadi needs newer GCC on netbsd-5/i386)



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

From: David Holland <dholland-pbugs%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/49000 (mail/akonadi needs newer GCC on netbsd-5/i386)
Date: Fri, 18 Jul 2014 04:20:40 +0000

 On Thu, Jul 17, 2014 at 11:45:01PM +0000, John D. Baker wrote:
  >  (Since I need GCC 4.6 for "www/firefox", I'd like to do a blanket override
  >  of packages needing GCC 4.5 or earlier--but still building with the
  >  netbsd-5's native GCC 4.1.3 for those packages for which it works.  I
  >  haven't quite worked out how.  Obvious approaches using something like:
  >  
  >    .if !empty(GCC_REQD:M4.5)
  >      GCC_REQD+=4.6
  >    .endif
  >  
  >  in "/etc/mk.conf" cause 'make' to complain about invalid conditional
  >  expression.)
 
 The problem is that GCC_REQD isn't set yet there. You might be able to
 get away with including mk/bsd.prefs.mk from mk.conf to set it. (but,
 eww...)
 
 You're probably better off making a local patch to mk/compiler/gcc.mk.
 
 -- 
 David A. Holland
 dholland%netbsd.org@localhost
 


Home | Main Index | Thread Index | Old Index