pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/amazon-ecs-cli amazon-ecs-cli: fix builds with rec...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5d9363968d83
branches:  trunk
changeset: 458897:5d9363968d83
user:      gutteridge <gutteridge%pkgsrc.org@localhost>
date:      Thu Sep 23 00:15:22 2021 +0000

description:
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:

 net/amazon-ecs-cli/Makefile |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 7e3d30afc0cc -r 5d9363968d83 net/amazon-ecs-cli/Makefile
--- a/net/amazon-ecs-cli/Makefile       Wed Sep 22 21:24:57 2021 +0000
+++ b/net/amazon-ecs-cli/Makefile       Thu Sep 23 00:15:22 2021 +0000
@@ -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 @@
 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"



Home | Main Index | Thread Index | Old Index