Re: Would like to use ARCH (uname -p) but it's not always correct (e.g. arm64)
Date: Thu, 29 Dec 2022 21:41:40 UTC
Tatsuki Makino wrote on 2022/12/30 06:17:
> For x11-wm/nscde, this is present in ${WRCSRC}/configure.ac.
>
> OS_PLUS_MACHINE_ARCH=`uname -sm | tr ' ' '_'`
> AC_SUBST(OS_PLUS_MACHINE_ARCH)
>
Then, in the case of security/zeek, it seems that uname -m is used in zeek-5.0.4/cmake/GetArchitecture.cmake of distfile.
That's also where FreeBSD gets lowercased.
Regards.