git: f26acad510a6 - main - misc/compat{10,11,13}x: Fix dependencies

From: Dag-Erling Smørgrav <des_at_FreeBSD.org>
Date: Tue, 12 Aug 2025 13:58:11 UTC
The branch main has been updated by des:

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

commit f26acad510a63893fa7fb63e94807c222f3c4c8b
Author:     Dag-Erling Smørgrav <des@FreeBSD.org>
AuthorDate: 2025-08-12 13:57:56 +0000
Commit:     Dag-Erling Smørgrav <des@FreeBSD.org>
CommitDate: 2025-08-12 13:57:56 +0000

    misc/compat{10,11,13}x: Fix dependencies
    
    If compat(N)x is installed on FreeBSD (N+2), it requires compat(N+1)x.
    
    Reviewed by:    arrowd
    Differential Revision:  https://reviews.freebsd.org/D51868
---
 misc/compat10x/Makefile | 6 +++---
 misc/compat11x/Makefile | 6 +++---
 misc/compat13x/Makefile | 2 +-
 3 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/misc/compat10x/Makefile b/misc/compat10x/Makefile
index 4662bf68a285..d75ad729e444 100644
--- a/misc/compat10x/Makefile
+++ b/misc/compat10x/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	compat10x
 PORTVERSION=	10.4.1004000.20181014
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	misc
 MASTER_SITES=	LOCAL/des
 PKGNAMESUFFIX=	-${ARCH}
@@ -24,8 +24,8 @@ NO_SHLIB_PROVIDES_GLOB= libreadline.so.* libhistory.so.*
 USE_LDCONFIG32=	${TARGET32_DIR}
 .endif
 
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1300000
-RUN_DEPENDS+=	compat12x-${ARCH}>=0:misc/compat12x
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200000
+RUN_DEPENDS+=	compat11x-${ARCH}>=0:misc/compat11x
 .endif
 
 do-install:
diff --git a/misc/compat11x/Makefile b/misc/compat11x/Makefile
index dbda51dc45a5..312cdeeeb41e 100644
--- a/misc/compat11x/Makefile
+++ b/misc/compat11x/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	compat11x
 PORTVERSION=	11.2.1102000.20181014
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	misc
 MASTER_SITES=	LOCAL/des
 PKGNAMESUFFIX=	-${ARCH}
@@ -23,8 +23,8 @@ 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
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1300000
+RUN_DEPENDS+=	compat12x-${ARCH}>=0:misc/compat12x
 .endif
 
 .if ${ARCH} == amd64
diff --git a/misc/compat13x/Makefile b/misc/compat13x/Makefile
index ecc8fb0898c6..758f710146af 100644
--- a/misc/compat13x/Makefile
+++ b/misc/compat13x/Makefile
@@ -32,7 +32,7 @@ COMPAT_LIBS=	libcrypto.so.111 \
 IGNORE=		is for FreeBSD 13.x and newer
 .endif
 
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400000
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1500000
 RUN_DEPENDS+=	compat14x-${ARCH}>=0:misc/compat14x
 .endif