1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

devel/py-libzfs: Make the OSVERSION check more accurate

PR:		279450
Reported by:	Hiroo Ono <hiroo.ono+freebsd@gmail.com>
This commit is contained in:
Gleb Popov 2024-07-09 20:40:13 +03:00
parent 4c2707b203
commit 38cc769ee8

View File

@ -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