summaryrefslogtreecommitdiff
path: root/devel/libinotify/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/libinotify/Makefile')
-rw-r--r--devel/libinotify/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/devel/libinotify/Makefile b/devel/libinotify/Makefile
index e8b8d3afb66d..d748982036f5 100644
--- a/devel/libinotify/Makefile
+++ b/devel/libinotify/Makefile
@@ -1,6 +1,6 @@
PORTNAME= libinotify
PORTVERSION= 20240724
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= devel
MASTER_SITES= https://github.com/libinotify-kqueue/libinotify-kqueue/releases/download/${PORTVERSION}/
@@ -11,7 +11,7 @@ WWW= https://github.com/libinotify-kqueue/libinotify-kqueue
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= libtool
+USES= libtool pathfix
CONFIGURE_ARGS= --enable-skip-subfiles=fusefs,smbfs
GNU_CONFIGURE= yes
@@ -19,10 +19,10 @@ INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
.if exists(/usr/include/sys/inotify.h)
+EXTRA_PATCHES= ${PATCHDIR}/extra-patch-libinotify.pc.in
+
post-install:
- ${INSTALL_DATA} /usr/include/sys/inotify.h ${STAGEDIR}${PREFIX}/include/sys/
- ${SED} -e '/Libs:/d' -e '/Cflags:/d' ${WRKSRC}/libinotify.pc \
- > ${STAGEDIR}${PREFIX}/libdata/pkgconfig/libinotify.pc
+ ${INSTALL_DATA} ${FILESDIR}/inotify.h ${STAGEDIR}${PREFIX}/include/sys/inotify.h
.endif
.include <bsd.port.mk>