Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jul 2024 17:41:12 GMT
From:      Gleb Popov <arrowd@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 38cc769ee806 - main - devel/py-libzfs: Make the OSVERSION check more accurate
Message-ID:  <202407091741.469HfC88081954@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by arrowd:

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

commit 38cc769ee806e95985981189cd7987fd3f41db99
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2024-07-09 17:40:13 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2024-07-09 17:41:08 +0000

    devel/py-libzfs: Make the OSVERSION check more accurate
    
    PR:             279450
    Reported by:    Hiroo Ono <hiroo.ono+freebsd@gmail.com>
---
 devel/py-libzfs/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/devel/py-libzfs/Makefile b/devel/py-libzfs/Makefile
index f68d645c2054..2db1495ec1c6 100644
--- a/devel/py-libzfs/Makefile
+++ b/devel/py-libzfs/Makefile
@@ -24,7 +24,7 @@ MAKE_ENV=	freebsd_src=${SRC_BASE}
 
 .include <bsd.port.options.mk>
 
-.if ${OSVERSION} >= 1500000
+.if ${OPSYS} == FreeBSD && (${OSVERSION} >= 1500018 || (${OSVERSION} >= 1401000 && ${OSVERSION} < 1500000))
 EXTRA_PATCHES+=	${FILESDIR}/extra-zpool-add.patch
 .endif
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202407091741.469HfC88081954>