diff options
author | Norikatsu Shigemura <nork@FreeBSD.org> | 2025-07-17 00:45:16 +0900 |
---|---|---|
committer | Norikatsu Shigemura <nork@FreeBSD.org> | 2025-07-17 00:45:16 +0900 |
commit | f23c295a67ed858b4b0949c6d4e5af52c8a5118a (patch) | |
tree | fe7f40a77d4085507fba6308c2ae27fdec0b8dec | |
parent | lang/php85: Update version 8.5.0alpha1=>8.5.0alpha2 (diff) |
sysutils/awslim: Fix build error on i386 and add ecs service to compact flavor
Approved by: hrs (mentor, blanket)
-rw-r--r-- | sysutils/awslim/Makefile | 13 | ||||
-rw-r--r-- | 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: |