Date: Thu, 12 Dec 2024 08:47:34 -0800 From: Yuri Victorovich <yuri@freebsd.org> To: Piotr Kubaj <pkubaj@anongoth.pl> Cc: ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org Subject: Re: git: 71c6c33462ac - main - science/PETSc: Fix build on 32-bit systems Message-ID: <fc5268dd-0c5f-4aa6-805a-1c9a887d87e4@freebsd.org> In-Reply-To: <Z1rQARytsr25iD9x@KGPE-D16> References: <202412121133.4BCBXZb5048026@gitrepo.freebsd.org> <Z1rQARytsr25iD9x@KGPE-D16>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Piotr, On 12/12/24 03:58, Piotr Kubaj wrote: > This is wrong. E.g. on powerpc64: pkubaj@talos-powerpc64:$/usr/ports$ > uname -m powerpc pkubaj@talos-powerpc64:$/usr/ports$ uname -p > powerpc64 Why not just use ${ARCH}? You are right, -p should be used. ${ARCH} silently doesn't work for some variables. Thanks, Yuri
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fc5268dd-0c5f-4aa6-805a-1c9a887d87e4>