Switching the ruby version to 2.6 (see depending PR) you will see the following error message: http://package18.nyi.freebsd.org/data/120amd64-default-PR238988/2019-08-28_05h21m12s/logs/ruby26-xapian-1.4.12.log Should we mark this port broken with ruby 2.6?
Created attachment 206989 [details] Fix ruby 2.6 build error.
I'm testing the similar patch. --- Makefile (revision 510163) +++ Makefile (working copy) @@ -50,4 +50,10 @@ 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>
yes that would also be a solution, but as the aim is to switch ruby to version 2.6, it is maybe overkill. I tested it with ruby 2.5 and it builds fine, so there is maybe not really a need to include this check. But how you do it is your decision ;)
A commit references this bug: Author: sunpoet Date: Sat Aug 31 07:58:03 UTC 2019 New revision: 510358 URL: https://svnweb.freebsd.org/changeset/ports/510358 Log: Fix build with Ruby 2.6 PR: 240162 Submitted by: mfechner Changes: head/databases/ruby-xapian/Makefile
Committed. Thanks!