aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-07-20 12:12:06 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-07-20 17:42:32 +0000
commit0271825ed8afe41a8a0047eaa70bbc55a2ed8749 (patch)
tree95e888842ffa8b2ab02d22817bb1c04f9b2ef2fa
parent07fa2c220efac446729e26ffb69f117bd648d1c4 (diff)
downloadports-0271825ed8afe41a8a0047eaa70bbc55a2ed8749.tar.gz
ports-0271825ed8afe41a8a0047eaa70bbc55a2ed8749.zip
devel/py-pyyaml5: Fix build with llvm16
Sponsored by: The FreeBSD Foundation
-rw-r--r--devel/py-pyyaml5/Makefile4
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}/)