git: 18b0af509c6d - main - devel/py-inotify-simple: Utilize USES=inotify

From: Xin LI <delphij_at_FreeBSD.org>
Date: Sun, 13 Sep 2026 15:50:23 UTC
The branch main has been updated by delphij:

URL: https://cgit.FreeBSD.org/ports/commit/?id=18b0af509c6df894acc3cb256993ae3809f9e81d

commit 18b0af509c6df894acc3cb256993ae3809f9e81d
Author:     Xin LI <delphij@FreeBSD.org>
AuthorDate: 2026-09-13 03:00:23 +0000
Commit:     Xin LI <delphij@FreeBSD.org>
CommitDate: 2026-09-13 15:50:06 +0000

    devel/py-inotify-simple: Utilize USES=inotify
    
    Suggested by:   makc
---
 devel/py-inotify-simple/Makefile | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/devel/py-inotify-simple/Makefile b/devel/py-inotify-simple/Makefile
index cb40b5be476a..4694f8b343fd 100644
--- a/devel/py-inotify-simple/Makefile
+++ b/devel/py-inotify-simple/Makefile
@@ -16,16 +16,9 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 
-USES=		python
+USES=		inotify python
 USE_PYTHON=	autoplist pep517
 
 NO_ARCH=	yes
 
-.include <bsd.port.options.mk>
-
-# Native inotify is in libc since FreeBSD 15 (OSVERSION 1500051); older releases need libinotify
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1500051
-LIB_DEPENDS=	libinotify.so:devel/libinotify
-.endif
-
 .include <bsd.port.mk>