aboutsummaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-07-20 13:25:30 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-07-20 17:42:34 +0000
commitb997f300ebba0c6ffd467394efe8afa0fa8bb02a (patch)
tree38d2807655595f919e9b03d924890673912a69b3 /devel
parent67579654984a67409b46e90aaaef90ccfe33799f (diff)
downloadports-b997f300ebba0c6ffd467394efe8afa0fa8bb02a.tar.gz
ports-b997f300ebba0c6ffd467394efe8afa0fa8bb02a.zip
Diffstat (limited to 'devel')
-rw-r--r--devel/rubygem-mmap2/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/devel/rubygem-mmap2/Makefile b/devel/rubygem-mmap2/Makefile
index b9a895914e1f..864ed2bac381 100644
--- a/devel/rubygem-mmap2/Makefile
+++ b/devel/rubygem-mmap2/Makefile
@@ -12,4 +12,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>