Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Dec 2022 06:41:40 +0900
From:      Tatsuki Makino <tatsuki_makino@hotmail.com>
To:        Nuno Teixeira <eduardo@freebsd.org>
Cc:        FreeBSD Mailing List <freebsd-ports@freebsd.org>
Subject:   Re: Would like to use ARCH (uname -p) but it's not always correct (e.g. arm64)
Message-ID:  <PSAPR03MB563906C23BBDD46A798875A4FAF39@PSAPR03MB5639.apcprd03.prod.outlook.com>
In-Reply-To: <PSAPR03MB56392BB6047FF29F806F703FFAF39@PSAPR03MB5639.apcprd03.prod.outlook.com>
References:  <CAFDf7U%2Br8hUbXASD81qJndsR=tU7kmqCPUATLgb5_PM=WRT%2B5g@mail.gmail.com> <PSAPR03MB56392BB6047FF29F806F703FFAF39@PSAPR03MB5639.apcprd03.prod.outlook.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?PSAPR03MB563906C23BBDD46A798875A4FAF39>