git: 38cc769ee806 - main - devel/py-libzfs: Make the OSVERSION check more accurate
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 09 Jul 2024 17:41:12 UTC
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