diff options
author | gutteridge <gutteridge@pkgsrc.org> | 2021-09-23 00:15:22 +0000 |
---|---|---|
committer | gutteridge <gutteridge@pkgsrc.org> | 2021-09-23 00:15:22 +0000 |
commit | 6c729ff05004c7e3fbafdc8267f64cb67e187b9b (patch) | |
tree | 10ac0fb23afc49d30abecbaaabde1324618f1087 /net/amazon-ecs-cli | |
parent | 7d4dc641d8aed6a3975e299a96e493822c3d3747 (diff) | |
download | pkgsrc-6c729ff05004c7e3fbafdc8267f64cb67e187b9b.tar.gz |
amazon-ecs-cli: fix builds with recent Go versions
This package (which hasn't had a subsequent release from upstream) will
no longer build when being treated as a "module" by recent Go versions
(and related pkgsrc definitions). It seems non-trivial to address this
(simply trying to add go.mod and such then leads to other errors, e.g.,
recent Go objecting to API versioning practices in code bundled by
upstream), so to get this building again for now, use the old "package"
approach instead.
Diffstat (limited to 'net/amazon-ecs-cli')
-rw-r--r-- | net/amazon-ecs-cli/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/net/amazon-ecs-cli/Makefile b/net/amazon-ecs-cli/Makefile index d6753b9e4c6..ceaa20e7e55 100644 --- a/net/amazon-ecs-cli/Makefile +++ b/net/amazon-ecs-cli/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2021/09/17 13:52:48 bsiegert Exp $ +# $NetBSD: Makefile,v 1.13 2021/09/23 00:15:22 gutteridge Exp $ DISTNAME= amazon-ecs-cli-1.21.0 PKGREVISION= 7 @@ -20,5 +20,7 @@ INSTALLATION_DIRS+= bin do-install: ${INSTALL_PROGRAM} ${WRKDIR}/bin/ecs-cli ${DESTDIR}${PREFIX}/bin -.include "../../lang/go/go-module.mk" +# XXX This doesn't build when being treated as a "module" by recent Go +# versions. On next update, check if this can be adjusted back to go-module.mk. +.include "../../lang/go/go-package.mk" .include "../../mk/bsd.pkg.mk" |