git: d9ce392eab98 - main - databases/ruby-xapian: Clean up Makefile
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 30 Mar 2022 22:24:33 UTC
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>