NetBSD-Bugs archive

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

Re: port-arm/48215: pkg_add fails on recent NetBSD/evbearmv6hf-el current



The following reply was made to PR port-arm/48215; it has been noted by GNATS.

From: David Holland <dholland-bugs%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: port-arm/48215: pkg_add fails on recent NetBSD/evbearmv6hf-el
 current
Date: Tue, 17 Sep 2013 01:43:35 +0000

 On Mon, Sep 16, 2013 at 03:15:00PM +0000, Matt Thomas wrote:
  >  > It's probably better to try to arrange the build so MACHINE_ARCH
  >  > contains the right string.
  >  >
  >  > calling sysctl directly will probably make for compile-time fun on
  >  > Solaris and other legacy platforms.
  >  
  >  So conditionalize it with #ifdef NETBSD_SOURCE / #endif=
 
 Or maybe fix it right?
 
 The build inherits MACHINE_ARCH from the environment, which gets it
 from the nbmake wrapper. If it's wrong there, that seems like a bug.
 
 -- 
 David A. Holland
 dholland%netbsd.org@localhost
 


Home | Main Index | Thread Index | Old Index