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



On Sep 16, 2013, at 8:00 AM, David Holland <dholland-bugs%netbsd.org@localhost> 
wrote:

> 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: Mon, 16 Sep 2013 14:55:39 +0000
> 
> On Mon, Sep 16, 2013 at 08:10:01AM +0000, Nick Hudson wrote:
>> Something like the attached diff should fix this. I didn't even compile 
>> test it, though.
> 
> 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


Home | Main Index | Thread Index | Old Index