git: 755b965d7fa0 - main - mail/bsfilter: Add RUN_DEPENDS on databases/rubygem-sdbm for Ruby 3.x.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 23 Apr 2022 14:12:46 UTC
The branch main has been updated by nobutaka: URL: https://cgit.FreeBSD.org/ports/commit/?id=755b965d7fa034bea2e87da4cb0df86de0862167 commit 755b965d7fa034bea2e87da4cb0df86de0862167 Author: MANTANI Nobutaka <nobutaka@FreeBSD.org> AuthorDate: 2022-04-23 13:42:49 +0000 Commit: MANTANI Nobutaka <nobutaka@FreeBSD.org> CommitDate: 2022-04-23 14:11:44 +0000 mail/bsfilter: Add RUN_DEPENDS on databases/rubygem-sdbm for Ruby 3.x. --- mail/bsfilter/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/mail/bsfilter/Makefile b/mail/bsfilter/Makefile index d121abe3483e..a9d48f987694 100644 --- a/mail/bsfilter/Makefile +++ b/mail/bsfilter/Makefile @@ -20,6 +20,12 @@ SHEBANG_FILES= bsfilter/bsfilter OPTIONS_DEFINE= EXAMPLES +.include <bsd.port.pre.mk> + +.if ${RUBY_VER:M3*} != "" +RUN_DEPENDS+= rubygem-sdbm>=1.0.0:databases/rubygem-sdbm +.endif + do-install: ${INSTALL_SCRIPT} ${WRKSRC}/bsfilter/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} @@ -30,4 +36,4 @@ do-install: cd ${WRKSRC} && ${COPYTREE_SHARE} ${DIR} ${STAGEDIR}${EXAMPLESDIR} .endfor -.include <bsd.port.mk> +.include <bsd.port.post.mk>