git: db491cbd3fe1 - main - misc/compat11x: depend on compat13x for libnv.so.0

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

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

commit db491cbd3fe1e136e429eebf3be17d7663f48f49
Author:     Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2025-03-18 11:12:21 +0000
Commit:     Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2025-03-18 11:58:58 +0000

    misc/compat11x: depend on compat13x for libnv.so.0
---
 misc/compat11x/Makefile | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/misc/compat11x/Makefile b/misc/compat11x/Makefile
index 7448dfcc2d75..dbda51dc45a5 100644
--- a/misc/compat11x/Makefile
+++ b/misc/compat11x/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	compat11x
 PORTVERSION=	11.2.1102000.20181014
+PORTREVISION=	1
 CATEGORIES=	misc
 MASTER_SITES=	LOCAL/des
 PKGNAMESUFFIX=	-${ARCH}
@@ -22,6 +23,10 @@ USE_LDCONFIG=	${TARGET_DIR}
 IGNORE=		is for FreeBSD 11.x and newer
 .endif
 
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400000
+RUN_DEPENDS+=	compat13x-${ARCH}>=0:misc/compat13x
+.endif
+
 .if ${ARCH} == amd64
 USE_LDCONFIG32=	${TARGET32_DIR}
 .endif