Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F142454664
D50736.id158092.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
714 B
Referenced Files
None
Subscribers
None
D50736.id158092.diff
View Options
diff --git a/devel/libinotify/Makefile b/devel/libinotify/Makefile
--- a/devel/libinotify/Makefile
+++ b/devel/libinotify/Makefile
@@ -1,6 +1,6 @@
PORTNAME= libinotify
PORTVERSION= 20240724
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= https://github.com/libinotify-kqueue/libinotify-kqueue/releases/download/${PORTVERSION}/
@@ -18,4 +18,11 @@
INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
+.if exists(/usr/include/sys/inotify.h)
+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
+.endif
+
.include <bsd.port.mk>
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jan 21, 3:31 AM (21 h, 25 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27788361
Default Alt Text
D50736.id158092.diff (714 B)
Attached To
Mode
D50736: Prepare for the native inotify impl
Attached
Detach File
Event Timeline
Log In to Comment