Date: Sat, 24 Jun 2023 20:49:31 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: 5ada4a93fe96 - main - net/py-pcapy: Fix build with llvm16 Message-ID: <202306242049.35OKnV0W073678@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=5ada4a93fe96ca3fb289ff2291370577c57ae1d9 commit 5ada4a93fe96ca3fb289ff2291370577c57ae1d9 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-06-24 19:48:02 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-06-24 20:48:37 +0000 net/py-pcapy: Fix build with llvm16 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- net/py-pcapy/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/net/py-pcapy/Makefile b/net/py-pcapy/Makefile index 63bb506310ef..d1378500f8ee 100644 --- a/net/py-pcapy/Makefile +++ b/net/py-pcapy/Makefile @@ -19,6 +19,12 @@ PORTDOCS= README pcapy.html OPTIONS_DEFINE= DOCS +.include <bsd.port.options.mk> + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CPPFLAGS+= -Dregister= +.endif + post-install: @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pcapy*.so
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202306242049.35OKnV0W073678>