git: 6320c4cdd10f - main - devel/py-fam: Fix build with llvm15
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 04 Jun 2023 13:23:38 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=6320c4cdd10feafdb8e0dc447c133e11552b1cbe commit 6320c4cdd10feafdb8e0dc447c133e11552b1cbe Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-06-04 12:38:42 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-06-04 13:23:26 +0000 devel/py-fam: Fix build with llvm15 - Adopt port --- devel/py-fam/Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/devel/py-fam/Makefile b/devel/py-fam/Makefile index 0e7086838fcf..4b845c503fe3 100644 --- a/devel/py-fam/Makefile +++ b/devel/py-fam/Makefile @@ -6,7 +6,7 @@ MASTER_SITES= SF/python-${PORTNAME}/python-${PORTNAME}/${PORTVERSION} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= python-fam-${PORTVERSION} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= bofh@FreeBSD.org COMMENT= Python Interface to the File Alteration Monitor WWW= http://python-fam.sourceforge.net/ @@ -16,10 +16,16 @@ LICENSE_FILE= ${WRKSRC}/COPYING USES= python:3.6+ fam USE_PYTHON= distutils autoplist +.include <bsd.port.pre.mk> + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) +CFLAGS+= -Wno-error=int-conversion +.endif + pre-patch: ${INSTALL_DATA} ${FILESDIR}/setup.py ${WRKSRC} post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_fam*.so -.include <bsd.port.mk> +.include <bsd.port.post.mk>