Re: git: f22dcc160a55 - main - devel/freebsd-sysroot: fix the default flavor

From: Antoine Brodin <antoine_at_freebsd.org>
Date: Wed, 14 Dec 2022 21:50:47 UTC
On Wed, Dec 14, 2022 at 8:19 PM Piotr Kubaj <pkubaj@anongoth.pl> wrote:
>
> Why?
>
> Is there any reason aarch64 is the default?

It has to be the first one.  And for some archs,  the ${ARCH} flavor is invalid.

Antoine

>
> On 22-12-14 17:51:13, Antoine Brodin wrote:
> >The branch main has been updated by antoine:
> >
> >URL: https://cgit.FreeBSD.org/ports/commit/?id=f22dcc160a5566f61b6c53d42d446ba9c765d55f
> >
> >commit f22dcc160a5566f61b6c53d42d446ba9c765d55f
> >Author:     Antoine Brodin <antoine@FreeBSD.org>
> >AuthorDate: 2022-12-14 17:50:54 +0000
> >Commit:     Antoine Brodin <antoine@FreeBSD.org>
> >CommitDate: 2022-12-14 17:50:54 +0000
> >
> >    devel/freebsd-sysroot: fix the default flavor
> >---
> > devel/freebsd-sysroot/Makefile | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> >diff --git a/devel/freebsd-sysroot/Makefile b/devel/freebsd-sysroot/Makefile
> >index 2daad831fd48..1c589b2acf9f 100644
> >--- a/devel/freebsd-sysroot/Makefile
> >+++ b/devel/freebsd-sysroot/Makefile
> >@@ -17,7 +17,7 @@ LICENSE_FILE=        ${WRKDIR}/COPYRIGHT
> > LICENSE_PERMS=        dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
> >
> > FLAVORS=      aarch64 amd64 armv7 i386 powerpc powerpc64 powerpc64le riscv64
> >-FLAVOR?=      ${ARCH}
> >+FLAVOR?=      ${FLAVORS:[1]}
> >
> > powerpc_BUILD_DEPENDS=                powerpc-binutils>0:devel/binutils@powerpc
> > powerpc_RUN_DEPENDS=          powerpc-binutils>0:devel/binutils@powerpc