git: 08d6299d1024 - main - misc/compat4x: add dependency on compat5x

From: Baptiste Daroussin <bapt_at_FreeBSD.org>
Date: Tue, 18 Mar 2025 11:59:02 UTC
The branch main has been updated by bapt:

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

commit 08d6299d10245c9f0828b696579949b077987a9a
Author:     Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2025-03-18 10:15:57 +0000
Commit:     Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2025-03-18 11:58:57 +0000

    misc/compat4x: add dependency on compat5x
    
    compat4x requires a bunch of libraries which have been removed in
    FreeBSD 6 so present in compat5x:
    - libncurses.so.5
    - libmd.so.2
    - libcryt.so.2
    - libradius.so.1
    - libssh.so.2
    - libcrypto.so.3
    - libtacplus.so.1
---
 misc/compat4x/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/misc/compat4x/Makefile b/misc/compat4x/Makefile
index 846bcaf52532..e8495392beec 100644
--- a/misc/compat4x/Makefile
+++ b/misc/compat4x/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	compat4x
 PORTVERSION=	${COMPAT4X_PORTVERSION}
-PORTREVISION=	11
+PORTREVISION=	12
 CATEGORIES=	misc
 MASTER_SITES=	${COMPAT4X_MASTER_SITES}
 PKGNAMESUFFIX=	-${COMPAT4X_ARCH}
@@ -11,6 +11,7 @@ MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Convenience package to install the compat4x libraries
 
 RUN_DEPENDS=	${LOCALBASE}/share/compat/locale/UTF-8/LC_CTYPE:misc/localedata
+LIB_DEPENDS=	libncurses.so.5:misc/compat5x
 
 WRKSRC=		${WRKDIR}/usr/lib/compat