diff options
Diffstat (limited to 'sysutils/awslim')
-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: |