Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 Aug 2026 15:21:44 +0000
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 1b106b21b3f9 - main - www/py-autobahn: various fixes
Message-ID:  <6a70b208.3a227.6b7f3f27@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by pkubaj:

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

commit 1b106b21b3f9ea2626e66cffe34f8a2ec3f681f8
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2026-08-02 10:05:44 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2026-08-03 15:21:17 +0000

    www/py-autobahn: various fixes
    
    1. Remove -march=native.
    2. Strip all the libraries.
    3. Removing -march=native allows to build on armv7.
---
 www/py-autobahn/Makefile | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/www/py-autobahn/Makefile b/www/py-autobahn/Makefile
index 281e2817d497..7ef0cbf423d0 100644
--- a/www/py-autobahn/Makefile
+++ b/www/py-autobahn/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	autobahn
 DISTVERSIONPREFIX=	v
 DISTVERSION=	25.10.2
+PORTREVISION=	1
 CATEGORIES=	www python
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
@@ -24,6 +25,8 @@ GH_ACCOUNT=	crossbario
 GH_PROJECT=	autobahn-python
 USE_PYTHON=	autoplist cryptography pep517 pytest
 
+MAKE_ENV=	AUTOBAHN_ARCH_TARGET=safe
+
 OPTIONS_DEFINE=		COMPRESS ENCRYPTION SCRAM SERIALIZATION
 OPTIONS_DEFAULT=	ENCRYPTION SCRAM SERIALIZATION TWISTED
 OPTIONS_MULTI=		BACKENDS
@@ -65,9 +68,8 @@ post-patch:
 		${WRKSRC}/pyproject.toml
 
 post-stage:
-.if ${ARCH} !=	armv7
-	@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_nvx_utf8validator.abi3.so
-.endif
+	@${FIND} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} -name '_nvx_*.abi3.so' \
+		-exec ${STRIP_CMD} {} +
 
 do-test-TWISTED-on:
 	@cd ${WRKSRC} && USE_TWISTED=1 ${PYTHON_CMD} -m twisted.trial ${WRKSRC}/autobahn


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a70b208.3a227.6b7f3f27>