From owner-svn-ports-head@freebsd.org Sat Aug 31 07:58:04 2019 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0C64DC8A1F; Sat, 31 Aug 2019 07:58:04 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46L7xl6WCQz4ChW; Sat, 31 Aug 2019 07:58:03 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B6419DBEF; Sat, 31 Aug 2019 07:58:03 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x7V7w3aX003119; Sat, 31 Aug 2019 07:58:03 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x7V7w3Hx003118; Sat, 31 Aug 2019 07:58:03 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201908310758.x7V7w3Hx003118@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Sat, 31 Aug 2019 07:58:03 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r510358 - head/databases/ruby-xapian X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: head/databases/ruby-xapian X-SVN-Commit-Revision: 510358 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Aug 2019 07:58:04 -0000 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 +.include + +.if ${RUBY_VER} >= 2.6 +BUILD_DEPENDS+= rubygem-rdoc>=0:devel/rubygem-rdoc +.endif + +.include