Hello.
Nuno Teixeira wrote on 2022/12/30 02:41:
> I'm looking for the best way to use `uname -m` on plist_sub:
> ---
> UNAME_M_CMD= ${UNAME} -m
> PLIST_SUB+= ARCH="$$(${UNAME_M_CMD})"
> ---
> but I'm not sure sure about -m and -p differences and effects on
> arm64/aarch64.
>
> It would be nicer to use:
> ---
> PLIST_SUB+= ARCH=${ARCH}
> ---
> but it uses `uname -p`
>
> Is this still an issue?
> I saw this example on security/zeek and I need this for x11-wm/nscde.
For x11-wm/nscde, this is present in ${WRCSRC}/configure.ac.
OS_PLUS_MACHINE_ARCH=`uname -sm | tr ' ' '_'`
AC_SUBST(OS_PLUS_MACHINE_ARCH)
Is it correct to say that ARCH is not different, but cannot be shared?
Regards.