pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/57074: sysutils/pv fails to build on modern MacOS, tries to use stat64
The following reply was made to PR pkg/57074; it has been noted by GNATS.
From: David Holland <dholland-pbugs%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: pkg/57074: sysutils/pv fails to build on modern MacOS, tries to
use stat64
Date: Wed, 26 Oct 2022 22:13:16 +0000
On Tue, Oct 25, 2022 at 04:25:00PM +0000, dns%strangeloop.cc@localhost wrote:
> .if ${OPSYS} == "Darwin" && ${MACHINE_ARCH} == "aarch64"
> CONFIGURE_ENV+= ac_cv_func_stat64=no
> .endif
>
> Will this break build on other Darwin's or older Mac's? Maybe
> checking OPSYS_VERSION > 120000 is a better deal? Unfortunately I
> don't know much about Mac's and my system is currently 120600.
It might. The whole sorry history of this stat64 nonsense has a lot of
tentacles. But probably not since aarch64 MacOS doesn't go back very
far.
I guess the other question is: why does the configure test come up
with the wrong answer? If we can figure out what's up with that, it's
a more robust way to fix things. config.log may provide some insight.
> I want to use this opportunity to thank everyone involved with the
> PKGsrc. Big thanks guys!
:-)
--
David A. Holland
dholland%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index