Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Jan 2024 05:28:13 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: cb813e4fb6b3 - main - www/py-autobahn: Fix build on Tier-2
Message-ID:  <202401030528.4035SDkr094208@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh:

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

commit cb813e4fb6b3dba7b77d19d1acece71eacc9494a
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-03 04:34:50 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-03 05:27:54 +0000

    www/py-autobahn: Fix build on Tier-2
    
    This port requires SIMD acceleration which installs a library and is
    required to be stripped. However based on the ARCH this file is not
    always generated specially for ARCH like powerpc64 or armv7.
    
    Reported by:    portsfallout
---
 www/py-autobahn/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/www/py-autobahn/Makefile b/www/py-autobahn/Makefile
index 699605775ee1..4f925790b201 100644
--- a/www/py-autobahn/Makefile
+++ b/www/py-autobahn/Makefile
@@ -64,7 +64,9 @@ COMPLETE_OPTIONS_LIST:=		${COMPLETE_OPTIONS_LIST:NASYNCIO}
 PORT_OPTIONS:=			${PORT_OPTIONS:NASYNCIO}
 
 post-stage:
+.if exists(${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_nvx_utf8validator.abi3.so)
 	@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_nvx_utf8validator.abi3.so
+.endif
 
 do-test-ASYNCIO-on:
 	@cd ${WRKSRC} && USE_ASYNCIO=1 ${PYTHON_CMD} -m pytest -v -rs ${WRKSRC}/autobahn



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202401030528.4035SDkr094208>