aboutsummaryrefslogtreecommitdiff
path: root/devel/rubygem-mmap2/Makefile
blob: e024bb03c1a71511dddcddbe4a20ef4594a7fb80 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
PORTNAME=	mmap2
PORTVERSION=	2.2.9
PORTREVISION=	1
CATEGORIES=	devel rubygems
MASTER_SITES=	RG

MAINTAINER=	mfechner@FreeBSD.org
COMMENT=	Implement memory-mapped file objects for Ruby 2.x
WWW=		https://gitlab.com/lyda/mmap

LICENSE=	RUBY

USES=		gem

.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.post.mk>