git: 6424f5726de4 - main - */*: Go ports that use modernc.org/sqlite are for aarch64, amd64 only

From: Robert Clausecker <fuz_at_FreeBSD.org>
Date: Tue, 24 Mar 2026 19:17:03 UTC
The branch main has been updated by fuz:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6424f5726de422da8e962457335d8f3b729396f2

commit 6424f5726de422da8e962457335d8f3b729396f2
Author:     Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2026-03-18 19:33:39 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2026-03-24 19:12:37 +0000

    */*: Go ports that use modernc.org/sqlite are for aarch64, amd64 only
    
    The module modernc.org/sqlite (and dependencies such as modernc.org/libc)
    are only available on aarch64 and amd64 FreeBSD.  Other platforms are
    not supported on FreeBSD right now.
    
    Consistently mark ports using these with ONLY_FOR_ARCHS.
    
    See also:       b1e7e12428e07a6f36afdc91b21ae044f4c4db3c
    Approved by:    portmgr (build fix blanket)
---
 databases/goose/Makefile | 3 +++
 devel/git-pkgs/Makefile  | 3 +++
 devel/gogs/Makefile      | 3 +++
 www/surge/Makefile       | 3 +++
 x11/histui/Makefile      | 3 +++
 5 files changed, 15 insertions(+)

diff --git a/databases/goose/Makefile b/databases/goose/Makefile
index 2608f6e27d62..dc940e66eca1 100644
--- a/databases/goose/Makefile
+++ b/databases/goose/Makefile
@@ -11,6 +11,9 @@ WWW=		https://pressly.github.io/goose/
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+ONLY_FOR_ARCHS=	aarch64 amd64
+ONLY_FOR_ARCHS_REASON=	module modernc.org/sqlite only supported on aarch64 and amd64
+
 USES=		go:modules
 
 GO_MODULE=	github.com/pressly/goose/v3
diff --git a/devel/git-pkgs/Makefile b/devel/git-pkgs/Makefile
index a100d6b73f8d..6dc8318b1aba 100644
--- a/devel/git-pkgs/Makefile
+++ b/devel/git-pkgs/Makefile
@@ -11,6 +11,9 @@ WWW=		https://git-pkgs.dev/ \
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+ONLY_FOR_ARCHS=	aarch64 amd64
+ONLY_FOR_ARCHS_REASON=	module modernc.org/sqlite only supported on aarch64 and amd64
+
 USES=		go:modules
 
 GO_BUILDFLAGS=	-ldflags="-s -w -X github.com/git-pkgs/git-pkgs/cmd.version=${PORTVERSION}"
diff --git a/devel/gogs/Makefile b/devel/gogs/Makefile
index ca108e1b1221..bc68e08b39ed 100644
--- a/devel/gogs/Makefile
+++ b/devel/gogs/Makefile
@@ -10,6 +10,9 @@ WWW=		https://gogs.io/
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+ONLY_FOR_ARCHS=	aarch64 amd64
+ONLY_FOR_ARCHS_REASON=	module modernc.org/sqlite only supported on aarch64 and amd64
+
 BUILD_DEPENDS=	go-bindata:devel/go-bindata
 RUN_DEPENDS=	git:devel/git \
 		bash:shells/bash
diff --git a/www/surge/Makefile b/www/surge/Makefile
index 30606d6ddf68..747c91560162 100644
--- a/www/surge/Makefile
+++ b/www/surge/Makefile
@@ -11,6 +11,9 @@ WWW=		https://github.com/surge-downloader/surge
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+ONLY_FOR_ARCHS=	aarch64 amd64
+ONLY_FOR_ARCHS_REASON=	module modernc.org/sqlite only supported on aarch64 and amd64
+
 USES=		go:modules
 
 GO_MODULE=	github.com/surge-downloader/surge
diff --git a/x11/histui/Makefile b/x11/histui/Makefile
index fd9c22d96150..7bd1b08b2e45 100644
--- a/x11/histui/Makefile
+++ b/x11/histui/Makefile
@@ -8,6 +8,9 @@ MAINTAINER=	nivit@FreeBSD.org
 COMMENT=	Highly themeable GTK4 notification daemon for Wayland
 WWW=		https://jmylchreest.github.io/histui
 
+ONLY_FOR_ARCHS=	aarch64 amd64
+ONLY_FOR_ARCHS_REASON=	module modernc.org/sqlite only supported on aarch64 and amd64
+
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE