diff options
author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-07-20 12:12:06 +0000 |
---|---|---|
committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-07-20 17:42:32 +0000 |
commit | 0271825ed8afe41a8a0047eaa70bbc55a2ed8749 (patch) | |
tree | 95e888842ffa8b2ab02d22817bb1c04f9b2ef2fa | |
parent | 07fa2c220efac446729e26ffb69f117bd648d1c4 (diff) | |
download | ports-0271825ed8afe41a8a0047eaa70bbc55a2ed8749.tar.gz ports-0271825ed8afe41a8a0047eaa70bbc55a2ed8749.zip |
devel/py-pyyaml5: Fix build with llvm16
Sponsored by: The FreeBSD Foundation
-rw-r--r-- | devel/py-pyyaml5/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/devel/py-pyyaml5/Makefile b/devel/py-pyyaml5/Makefile index f67362350740..5e172b4a8147 100644 --- a/devel/py-pyyaml5/Makefile +++ b/devel/py-pyyaml5/Makefile @@ -38,6 +38,10 @@ PYDISTUTILS_SETUP+= --without-libyaml NO_ARCH= yes .endif +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + post-install-EXAMPLES-on: @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/) |