Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Mar 2022 22:24:33 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: d9ce392eab98 - main - databases/ruby-xapian: Clean up Makefile
Message-ID:  <202203302224.22UMOXH3065566@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d9ce392eab9834d4e9efe66f5343ec339fe1532c

commit d9ce392eab9834d4e9efe66f5343ec339fe1532c
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-03-30 22:07:29 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-03-30 22:21:21 +0000

    databases/ruby-xapian: Clean up Makefile
    
    Ruby 2.6 is the lowest supported version.
---
 databases/ruby-xapian/Makefile | 11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)

diff --git a/databases/ruby-xapian/Makefile b/databases/ruby-xapian/Makefile
index 030989f7831b..95328c6a9025 100644
--- a/databases/ruby-xapian/Makefile
+++ b/databases/ruby-xapian/Makefile
@@ -14,7 +14,8 @@ COMMENT=	Ruby binding for Xapian
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-BUILD_DEPENDS=	xapian-core>=${PORTVERSION}:databases/xapian-core
+BUILD_DEPENDS=	rubygem-rdoc>=0:devel/rubygem-rdoc \
+		xapian-core>=${PORTVERSION}:databases/xapian-core
 LIB_DEPENDS=	libxapian.so:databases/xapian-core
 
 USES=		compiler:c++11-lang libtool tar:xz
@@ -47,10 +48,4 @@ OPTIONS_DEFINE=	DOCS
 post-patch:
 	@${REINPLACE_CMD} -e 's|-lstdc++||g' ${WRKSRC}/configure
 
-.include <bsd.port.pre.mk>
-
-.if ${RUBY_VER} >= 2.6
-BUILD_DEPENDS+=	rubygem-rdoc>=0:devel/rubygem-rdoc
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



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