git: f23c295a67ed - main - sysutils/awslim: Fix build error on i386 and add ecs service to compact flavor

From: Norikatsu Shigemura <nork_at_FreeBSD.org>
Date: Wed, 16 Jul 2025 15:47:21 UTC
The branch main has been updated by nork:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f23c295a67ed858b4b0949c6d4e5af52c8a5118a

commit f23c295a67ed858b4b0949c6d4e5af52c8a5118a
Author:     Norikatsu Shigemura <nork@FreeBSD.org>
AuthorDate: 2025-07-16 15:45:16 +0000
Commit:     Norikatsu Shigemura <nork@FreeBSD.org>
CommitDate: 2025-07-16 15:45:16 +0000

    sysutils/awslim: Fix build error on i386 and add ecs service to compact flavor
    
    Approved by:    hrs (mentor, blanket)
---
 sysutils/awslim/Makefile               | 13 ++++++++++---
 sysutils/awslim/files/compact-gen.yaml |  1 +
 2 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/sysutils/awslim/Makefile b/sysutils/awslim/Makefile
index dec288111af8..cee62e8cad90 100644
--- a/sysutils/awslim/Makefile
+++ b/sysutils/awslim/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	awslim
 DISTVERSIONPREFIX=	v
 DISTVERSION=	0.4.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	sysutils
 
 MAINTAINER=	nork@FreeBSD.org
@@ -12,7 +12,6 @@ LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 FLAVORS=	default compact
-FLAVOR?=	${FLAVORS:[1]}
 
 compact_PKGNAMESUFFIX=	-compact
 
@@ -49,4 +48,12 @@ post-extract:
 pre-build:
 	cd ${GO_WRKSRC} && ${SETENVI} ${WRK_ENV} ${MAKE_ENV} ${GO_ENV} GOMAXPROCS=${MAKE_JOBS_NUMBER} GOPROXY=off ${GO_CMD} generate ${GO_BUILDFLAGS} ./cmd/awslim-gen .
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} != i386
+FLAVOR?=	${FLAVORS:[1]}
+.else
+FLAVOR?=	${FLAVORS:[2]}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/sysutils/awslim/files/compact-gen.yaml b/sysutils/awslim/files/compact-gen.yaml
index abdcb79d6dc4..94ddd98530cd 100644
--- a/sysutils/awslim/files/compact-gen.yaml
+++ b/sysutils/awslim/files/compact-gen.yaml
@@ -7,6 +7,7 @@ services:
   cloudwatchlogs:
   ebs:
   ec2:
+  ecs:
   eventbridge:
   iam:
   kms: