svn commit: r510358 - head/databases/ruby-xapian
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sat Aug 31 07:58:04 UTC 2019
Author: sunpoet
Date: Sat Aug 31 07:58:03 2019
New Revision: 510358
URL: https://svnweb.freebsd.org/changeset/ports/510358
Log:
Fix build with Ruby 2.6
PR: 240162
Submitted by: mfechner
Modified:
head/databases/ruby-xapian/Makefile
Modified: head/databases/ruby-xapian/Makefile
==============================================================================
--- head/databases/ruby-xapian/Makefile Sat Aug 31 07:57:58 2019 (r510357)
+++ head/databases/ruby-xapian/Makefile Sat Aug 31 07:58:03 2019 (r510358)
@@ -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>
More information about the svn-ports-all
mailing list