git: 1ad8cfa1e9c4 - main - sysutils/arcconf: only depend on compat12x for FreeBSD > 12

From: Palle Girgensohn <girgen_at_FreeBSD.org>
Date: Mon, 11 Oct 2021 11:35:05 UTC
The branch main has been updated by girgen:

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

commit 1ad8cfa1e9c41bebe77fa8d1cc73ad627613883b
Author:     Palle Girgensohn <girgen@FreeBSD.org>
AuthorDate: 2021-10-08 07:57:40 +0000
Commit:     Palle Girgensohn <girgen@FreeBSD.org>
CommitDate: 2021-10-11 11:35:00 +0000

    sysutils/arcconf: only depend on compat12x for FreeBSD > 12
    
    PR:     258775
---
 sysutils/arcconf/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sysutils/arcconf/Makefile b/sysutils/arcconf/Makefile
index cbb26407408b..118bd0cb561b 100644
--- a/sysutils/arcconf/Makefile
+++ b/sysutils/arcconf/Makefile
@@ -26,7 +26,10 @@ SUB_FILES+=	${PERIODICSCRIPT}
 PERIODICSCRIPT=	410.status-aac-raid
 
 DIST_TYPE=	12_x64
+
+.if ${OSVERSION} > 1300078
 RUN_DEPENDS+=	${LOCALBASE}/lib/compat/libncurses.so.8:misc/compat12x
+.endif
 
 NO_BUILD=	yes
 NO_WRKSUBDIR=	yes