1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

Fix build with Ruby 2.6

PR:		240162
Submitted by:	mfechner
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2019-08-31 07:58:03 +00:00
parent a697663109
commit 3ddaed56d5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=510358

View File

@ -50,4 +50,10 @@ PORTDOCS= *
post-patch:
@${REINPLACE_CMD} -e 's|-lstdc++||g' ${WRKSRC}/configure
.include <bsd.port.mk>
.include <bsd.port.pre.mk>
.if ${RUBY_VER} >= 2.6
BUILD_DEPENDS+= rubygem-rdoc>=0:devel/rubygem-rdoc
.endif
.include <bsd.port.post.mk>