Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 Apr 2026 18:49:01 +0000
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 462e4e020818 - main - misc/github-copilot-cli: Try to expand on all architectures
Message-ID:  <69d6a31d.30a90.5172cfb9@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=462e4e020818d81c019bbb70537ce7dddd187923

commit 462e4e020818d81c019bbb70537ce7dddd187923
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-04-08 17:34:57 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-04-08 18:48:56 +0000

    misc/github-copilot-cli: Try to expand on all architectures
---
 misc/github-copilot-cli/Makefile | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/misc/github-copilot-cli/Makefile b/misc/github-copilot-cli/Makefile
index 982d9008fe9b..9924cfc212ef 100644
--- a/misc/github-copilot-cli/Makefile
+++ b/misc/github-copilot-cli/Makefile
@@ -9,9 +9,6 @@ MAINTAINER=	yuri@FreeBSD.org
 COMMENT=	GitHub Copilot CLI brings the power of the coding agent to terminal
 WWW=		https://github.com/github/copilot-cli
 
-ONLY_FOR_ARCHS=		aarch64 amd64
-ONLY_FOR_ARCHS_REASON=	binaries are installed in folders with architecture encoded in them, patches are welcome to fix this limitation
-
 FLAVORS=	script binary
 FLAVOR?=	${FLAVORS:[1]}
 script_PKGNAMESUFFIX=
@@ -82,7 +79,8 @@ USES=		nodejs:build pkgconfig python:build
 
 NODE_HEADERS=	node-v22.19.0-headers
 
-JS_ARCH=	${ARCH:S/amd64/x64/:S/aarch64/arm64/}
+JS_ARCH=	${ARCH:S/amd64/x64/:S/aarch64/arm64/:S/i386/ia32/:S/powerpc64le/ppc64le/:S/powerpc64/ppc64/:C/armv[67]/arm/} # modeled after electron.mk
+PLIST_SUB=	JS_ARCH=${JS_ARCH}
 
 DEP_MODULES=			pty sharp keytar node_addon_api
 dep_pty_npm_name=		@devm33/node-pty
@@ -98,8 +96,6 @@ dep_node_addon_api_version=	8.5.0
 DISTFILES+=	${dep:S/_/-/g}-${dep_${dep}_version}${EXTRACT_SUFX}
 .endfor
 
-PLIST_SUB=	JS_ARCH=${JS_ARCH}
-
 do-fetch:
 	@${MKDIR} ${DD}
 	@exec 9>${FETCH_LOCKFILE} && flock -x 9 && \


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69d6a31d.30a90.5172cfb9>