From 38cc769ee806e95985981189cd7987fd3f41db99 Mon Sep 17 00:00:00 2001 From: Gleb Popov Date: Tue, 9 Jul 2024 20:40:13 +0300 Subject: [PATCH] devel/py-libzfs: Make the OSVERSION check more accurate PR: 279450 Reported by: Hiroo Ono --- 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 -.if ${OSVERSION} >= 1500000 +.if ${OPSYS} == FreeBSD && (${OSVERSION} >= 1500018 || (${OSVERSION} >= 1401000 && ${OSVERSION} < 1500000)) EXTRA_PATCHES+= ${FILESDIR}/extra-zpool-add.patch .endif