git: 2d032467d0a3 - 2022Q1 - devel/rsvndump: Resolve DEVELOPER LIB_DEPENDS warnings

From: Cy Schubert <cy_at_FreeBSD.org>
Date: Mon, 31 Jan 2022 21:51:51 UTC
The branch 2022Q1 has been updated by cy:

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

commit 2d032467d0a38b8e08eda92784554d78a84d6813
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2022-01-27 17:36:13 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2022-01-31 21:45:41 +0000

    devel/rsvndump: Resolve DEVELOPER LIB_DEPENDS warnings
    
    Resolve the following LIB_DEPENDS warnings:
    
    Error: /usr/local/bin/rsvndump is linked to
    /usr/local/lib/libapr-1.so.0 from devel/apr1 but it is not declared
    as a dependency
    Warning: you need LIB_DEPENDS+=libapr-1.so:devel/apr1
    Error: /usr/local/bin/rsvndump is linked to
    /usr/local/lib/libaprutil-1.so.0 from devel/apr1 but it is not declared
    as a dependency
    Warning: you need LIB_DEPENDS+=libaprutil-1.so:devel/apr1
    Error: /usr/local/bin/rsvndump is linked to
    /usr/local/lib/libdb-5.3.so.0 from databases/db5 but it is not declared
    as a dependency
    Warning: you need USES+=bdb
    Error: /usr/local/bin/rsvndump is linked to /usr/local/lib/libgdbm.so.6
    from databases/gdbm but it is not declared as a dependency
    Warning: you need LIB_DEPENDS+=libgdbm.so:databases/gdbm
    Error: /usr/local/bin/rsvndump is linked to /usr/local/lib/libexpat.so.1
    from textproc/expat2 but it is not declared as a dependency
    Warning: you need LIB_DEPENDS+=libexpat.so:textproc/expat2
    
    (cherry picked from commit 7ca778484e34feba3457b0bf68245fe03673016e)
---
 devel/rsvndump/Makefile | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/devel/rsvndump/Makefile b/devel/rsvndump/Makefile
index 5655a5c78fd4..bbe0c2099811 100644
--- a/devel/rsvndump/Makefile
+++ b/devel/rsvndump/Makefile
@@ -2,7 +2,7 @@
 
 PORTNAME=	rsvndump
 PORTVERSION=	0.6
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	devel
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
 
@@ -11,7 +11,11 @@ COMMENT=	Remote Subversion repository dumpfile generator
 
 LICENSE=	GPLv2
 
-LIB_DEPENDS=	libsvn_client-1.so:devel/subversion
+USES=		bdb
+LIB_DEPENDS=	libsvn_client-1.so:devel/subversion \
+		libgdbm.so:databases/gdbm \
+		libexpat.so:textproc/expat2 \
+		libapr-1.so:devel/apr1
 
 OPTIONS_DEFINE=	DOCS NLS