pkgsrc-Changes archive

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

CVS commit: pkgsrc/net/amazon-ecs-cli



Module Name:    pkgsrc
Committed By:   gutteridge
Date:           Thu Sep 23 00:15:22 UTC 2021

Modified Files:
        pkgsrc/net/amazon-ecs-cli: Makefile

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 pkgsrc/net/amazon-ecs-cli/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/amazon-ecs-cli/Makefile
diff -u pkgsrc/net/amazon-ecs-cli/Makefile:1.12 pkgsrc/net/amazon-ecs-cli/Makefile:1.13
--- pkgsrc/net/amazon-ecs-cli/Makefile:1.12     Fri Sep 17 13:52:48 2021
+++ pkgsrc/net/amazon-ecs-cli/Makefile  Thu Sep 23 00:15:22 2021
@@ -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"



Home | Main Index | Thread Index | Old Index