git: b2fb62c5fe17 - main - net-p2p/autoscan: Mark for amd64 and i386 only

From: Fernando Apesteguía <fernape_at_FreeBSD.org>
Date: Thu, 30 Jun 2022 05:41:20 UTC
The branch main has been updated by fernape:

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

commit b2fb62c5fe17a3830c367a0fe5b78e64725f62db
Author:     Michiel van Baak Jansen <michiel@vanbaak.eu>
AuthorDate: 2022-06-29 05:48:27 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2022-06-30 05:38:36 +0000

    net-p2p/autoscan: Mark for amd64 and i386 only
    
    autoscan uses the go packages from modernc, and those only have amd64 and i386
    versions on FreeBSD.
    
    See https://gitlab.com/cznic/libc/-/issues/15
    
    PR:     263657
    Reported by:    michiel@vanbaak.eu (maintainer)
---
 net-p2p/autoscan/Makefile | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/net-p2p/autoscan/Makefile b/net-p2p/autoscan/Makefile
index 9d0525a09e57..1e991f3a955f 100644
--- a/net-p2p/autoscan/Makefile
+++ b/net-p2p/autoscan/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	autoscan
 DISTVERSIONPREFIX=	v
 DISTVERSION=	1.3.0
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	net-p2p
 
 MAINTAINER=	michiel@vanbaak.eu
@@ -10,6 +10,11 @@ COMMENT=	Scan Plex library on webhook triggers
 LICENSE=	MIT
 LICENSE_FILE=   ${WRKSRC}/LICENSE
 
+# See https://gitlab.com/cznic/libc/-/issues/15
+ONLY_FOR_ARCHS=	amd64 i386
+ONLY_FOR_ARCHS_REASON=	Some dependencies only build on amd64 and i386
+
+
 USES=		go:modules
 USE_RC_SUBR=	autoscan