Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Aug 2019 07:58:03 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r510358 - head/databases/ruby-xapian
Message-ID:  <201908310758.x7V7w3Hx003118@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201908310758.x7V7w3Hx003118>