git: 2346138457bf - main - textproc/ripgrep-all: depends on textproc/ripgrep

From: Robert Clausecker <fuz_at_FreeBSD.org>
Date: Thu, 14 Nov 2024 08:44:21 UTC
The branch main has been updated by fuz:

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

commit 2346138457bf6dd604b1b050e2dbb8c61eeb97a8
Author:     Robert William Vesterman <bob@vesterman.com>
AuthorDate: 2024-11-12 13:41:33 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2024-11-14 08:43:26 +0000

    textproc/ripgrep-all: depends on textproc/ripgrep
    
    textproc/ripgrep-all will exit with a failure message when invoked if
    ripgrep is not also installed. This commit changes the Makefile so that
    textproc/ripgrep is listed as a runtime dependency, and therefore will
    be automatically built and installed along with textproc/ripgrep-all.
    
    PR:             282151
    Approved by:    alexis.praga@free.fr (maintainer timeout)
---
 textproc/ripgrep-all/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/textproc/ripgrep-all/Makefile b/textproc/ripgrep-all/Makefile
index 2b8608f0df69..19f4dc1c02e6 100644
--- a/textproc/ripgrep-all/Makefile
+++ b/textproc/ripgrep-all/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	ripgrep-all
 DISTVERSIONPREFIX=	v
 DISTVERSION=	0.9.6
-PORTREVISION=	31
+PORTREVISION=	32
 CATEGORIES=	textproc
 
 MAINTAINER=	alexis.praga@free.fr
@@ -11,6 +11,8 @@ WWW=		https://github.com/phiresky/ripgrep-all/
 LICENSE=	AGPLv3
 LICENSE_FILE=	${WRKSRC}/LICENSE.md
 
+RUN_DEPENDS=	rg:textproc/ripgrep
+
 USES=		cargo
 USE_GITHUB=	yes
 GH_ACCOUNT=	phiresky