diff options
author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-06-24 20:24:22 +0000 |
---|---|---|
committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-06-24 20:48:38 +0000 |
commit | 60857c34a9277b2ee0be468c6add2707d3b06ad6 (patch) | |
tree | bd593d25883fb63832b6944034a057e90ab7a29d | |
parent | a8830cba5db699b38053eb0481c9e71426fcda4e (diff) |
devel/rubygem-unicode: Fix build with llvm16
Approved by: portmgr (blanket)
Sponsored by: The FreeBSD Foundation
-rw-r--r-- | devel/rubygem-unicode/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/devel/rubygem-unicode/Makefile b/devel/rubygem-unicode/Makefile index 80b0f11e736c..2dd1cd924632 100644 --- a/devel/rubygem-unicode/Makefile +++ b/devel/rubygem-unicode/Makefile @@ -11,4 +11,10 @@ LICENSE= RUBY USES= gem +.include <bsd.port.options.mk> + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CONFIGURE_ARGS+= --with-cflags="-Wno-error=incompatible-function-pointer-types" +.endif + .include <bsd.port.mk> |