aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGleb Popov <arrowd@FreeBSD.org>2024-07-09 17:40:13 +0000
committerGleb Popov <arrowd@FreeBSD.org>2024-07-09 17:41:08 +0000
commit38cc769ee806e95985981189cd7987fd3f41db99 (patch)
treee166d229da33458d5354577602d455e748e4fd52
parent4c2707b2038ae3962cc214db405d5990ad5fe07e (diff)
downloadports-38cc769ee806e95985981189cd7987fd3f41db99.tar.gz
ports-38cc769ee806e95985981189cd7987fd3f41db99.zip
devel/py-libzfs: Make the OSVERSION check more accurate
PR: 279450 Reported by: Hiroo Ono <hiroo.ono+freebsd@gmail.com>
-rw-r--r--devel/py-libzfs/Makefile2
1 files changed, 1 insertions, 1 deletions
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