git: 69c6f470e37b - main - ftp/surge: only for aarch64, amd64

From: Robert Clausecker <fuz_at_FreeBSD.org>
Date: Fri, 26 Jun 2026 12:09:45 UTC
The branch main has been updated by fuz:

URL: https://cgit.FreeBSD.org/ports/commit/?id=69c6f470e37bdad217fa493bc1019e956d940f81

commit 69c6f470e37bdad217fa493bc1019e956d940f81
Author:     Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2026-06-24 12:27:26 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2026-06-26 12:07:56 +0000

    ftp/surge: only for aarch64, amd64
    
    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.
    
    Approved by:    portmgr (build fix blanket)
    MFH:            2026Q2
---
 ftp/surge/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/ftp/surge/Makefile b/ftp/surge/Makefile
index 187a778daa70..672ebae27012 100644
--- a/ftp/surge/Makefile
+++ b/ftp/surge/Makefile
@@ -12,6 +12,9 @@ WWW=		https://surgedm.github.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
+
 USES=		go:1.25+,modules
 
 GO_MODULE=	github.com/SurgeDM/Surge