git: 556a2d2c5a0b - main - misc/compat12x: depend on compat13x for libnv.so.0

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

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

commit 556a2d2c5a0b73693b0fda0a6ad04b8433cea4a4
Author:     Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2025-03-18 11:55:29 +0000
Commit:     Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2025-03-18 11:58:58 +0000

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

diff --git a/misc/compat12x/Makefile b/misc/compat12x/Makefile
index a88d9b18de92..8df275201e16 100644
--- a/misc/compat12x/Makefile
+++ b/misc/compat12x/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	compat12x
 PORTVERSION=	12.2.1202000.20210406
+PORTREVISION= 	1
 CATEGORIES=	misc
 MASTER_SITES=	LOCAL/jkim
 PKGNAMESUFFIX=	-${ARCH}
@@ -24,6 +25,10 @@ USE_LDCONFIG=	${TARGET_DIR}
 IGNORE=		is for FreeBSD 12.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