git: c0723dc624be - main - sysutils/e2fsprogs-core: clean up OSVERSION check

From: Matthias Andree <mandree_at_FreeBSD.org>
Date: Tue, 10 Sep 2024 21:33:59 UTC
The branch main has been updated by mandree:

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

commit c0723dc624be454c4d143a785599751cb1dd0a18
Author:     Matthias Andree <mandree@FreeBSD.org>
AuthorDate: 2024-09-10 21:10:30 +0000
Commit:     Matthias Andree <mandree@FreeBSD.org>
CommitDate: 2024-09-10 21:33:38 +0000

    sysutils/e2fsprogs-core: clean up OSVERSION check
    
    and permit FreeBSD 14.x amd64 to use NOTESTS for SELFTEST and
    require tests only on FreeBSD 15 or newer, or on non-amd64
    architectures.
---
 sysutils/e2fsprogs-core/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sysutils/e2fsprogs-core/Makefile b/sysutils/e2fsprogs-core/Makefile
index a71b125694e9..4e5526982f2c 100644
--- a/sysutils/e2fsprogs-core/Makefile
+++ b/sysutils/e2fsprogs-core/Makefile
@@ -204,7 +204,7 @@ post-patch::
 .if ${MASTERDIR} == ${.CURDIR}
 # NOTE: The previous .if block goes all the way to the end of the file.
 
-.if !empty(PORT_OPTIONS:MNOTESTS) && (${OPSYS} == FreeBSD) && (${OSVERSION} >= 1400000 || ((${ARCH} != i386) && (${ARCH} != amd64)))
+.if !empty(PORT_OPTIONS:MNOTESTS) && (${OPSYS} == FreeBSD) && (${OSVERSION} >= 1500000 || (${ARCH} != amd64))
 BROKEN=	it was not tested on your system by the maintainer; you must run self-tests
 .endif