summaryrefslogtreecommitdiff
path: root/devel/rubygem-mmap2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/rubygem-mmap2/Makefile')
-rw-r--r--devel/rubygem-mmap2/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/devel/rubygem-mmap2/Makefile b/devel/rubygem-mmap2/Makefile
index e77bb3404a06..e024bb03c1a7 100644
--- a/devel/rubygem-mmap2/Makefile
+++ b/devel/rubygem-mmap2/Makefile
@@ -12,10 +12,14 @@ LICENSE= RUBY
USES= gem
-.include <bsd.port.options.mk>
+.include <bsd.port.pre.mk>
+
+.if ${RUBY_VER} >= 3.3
+BROKEN= mmap.c:1108:24: error: no member named 'rmatch' in 'struct RMatch'
+.endif
.if ${OPSYS} == FreeBSD
CONFIGURE_ARGS+= --with-cflags="-Wno-error=incompatible-function-pointer-types"
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>