diff --git a/devel/rcs/Portfile b/devel/rcs/Portfile index 7a32ca0fc55f8..e04cbd0e7bd21 100644 --- a/devel/rcs/Portfile +++ b/devel/rcs/Portfile @@ -29,6 +29,11 @@ checksums rmd160 0adde8a075de346e4229a893366e2aa396b4e651 \ sha256 43ddfe10724a8b85e2468f6403b6000737186f01e60e0bd62fde69d842234cc5 \ size 917331 +if {${os.platform} eq "darwin" && ${os.major} > 22} { + configure.cflags-append \ + -Wno-error=incompatible-function-pointer-types +} + set docdir ${prefix}/share/doc/${name} post-destroot {