Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177283545
D50736.1794080146.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
714 B
Referenced Files
None
Subscribers
None
D50736.1794080146.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
Sat, Nov 7, 7:35 PM (10 h, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41554255
Default Alt Text
D50736.1794080146.diff (714 B)
Attached To
Mode
D50736: Prepare for the native inotify impl
Attached
Detach File
Event Timeline