SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
|
@ -0,0 +1,24 @@
|
|||
Index: find-modules/FindInotify.cmake
|
||||
--- find-modules/FindInotify.cmake.orig
|
||||
+++ find-modules/FindInotify.cmake
|
||||
@@ -28,7 +28,11 @@ these may be needed to use inotify.
|
||||
Since 5.32.0.
|
||||
#]=======================================================================]
|
||||
|
||||
+if(CMAKE_SYSTEM_NAME MATCHES "OpenBSD")
|
||||
+find_path(Inotify_INCLUDE_DIRS NAME sys/inotify.h PATHS ${LOCALBASE}/include/inotify)
|
||||
+else()
|
||||
find_path(Inotify_INCLUDE_DIRS sys/inotify.h)
|
||||
+endif()
|
||||
|
||||
if(Inotify_INCLUDE_DIRS)
|
||||
# On Linux and SunOS, there is no library to link against, on the BSDs there is.
|
||||
@@ -38,7 +42,7 @@ if(Inotify_INCLUDE_DIRS)
|
||||
set(Inotify_LIBRARIES "")
|
||||
set(Inotify_INCLUDE_DIRS "")
|
||||
else()
|
||||
- find_library(Inotify_LIBRARIES NAMES inotify)
|
||||
+ find_library(Inotify_LIBRARIES NAMES inotify PATHS ${LOCALBASE}/lib/inotify/)
|
||||
include(FindPackageHandleStandardArgs)
|
||||
find_package_handle_standard_args(Inotify
|
||||
FOUND_VAR
|
Loading…
Add table
Add a link
Reference in a new issue