Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jun 2019 10:45:34 +0000 (UTC)
From:      Dima Panov <fluffy@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r505149 - head/sysutils/plasma5-ksysguard/files
Message-ID:  <201906261045.x5QAjYhM067802@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: fluffy
Date: Wed Jun 26 10:45:33 2019
New Revision: 505149
URL: https://svnweb.freebsd.org/changeset/ports/505149

Log:
  - Exclude false-positive use of sys/inotify.h when INOTIFY option disabled

Modified:
  head/sysutils/plasma5-ksysguard/files/patch-ksysguardd_CMakeLists.txt

Modified: head/sysutils/plasma5-ksysguard/files/patch-ksysguardd_CMakeLists.txt
==============================================================================
--- head/sysutils/plasma5-ksysguard/files/patch-ksysguardd_CMakeLists.txt	Wed Jun 26 09:32:01 2019	(r505148)
+++ head/sysutils/plasma5-ksysguard/files/patch-ksysguardd_CMakeLists.txt	Wed Jun 26 10:45:33 2019	(r505149)
@@ -1,14 +1,17 @@
---- ksysguardd/CMakeLists.txt.orig	2019-06-18 09:56:21 UTC
+--- ksysguardd/CMakeLists.txt.orig	2019-06-26 08:37:14 UTC
 +++ ksysguardd/CMakeLists.txt
-@@ -9,6 +9,7 @@ add_definitions(-DOSTYPE_${CMAKE_SYSTEM_NAME})
+@@ -9,8 +9,8 @@ add_definitions(-DOSTYPE_${CMAKE_SYSTEM_NAME})
  
  set(HAVE_LMSENSORS ${SENSORS_FOUND})
  
+-check_include_files(sys/inotify.h SYS_INOTIFY_H_FOUND)
+-set(HAVE_SYS_INOTIFY_H ${SYS_INOTIFY_H_FOUND})
 +include_directories(${Inotify_INCLUDE_DIRS})
- check_include_files(sys/inotify.h SYS_INOTIFY_H_FOUND)
- set(HAVE_SYS_INOTIFY_H ${SYS_INOTIFY_H_FOUND})
++set(HAVE_SYS_INOTIFY_H ${Inotify_FOUND})
  
-@@ -46,7 +47,7 @@ endif()
+ 
+ configure_file(config-ksysguardd.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-ksysguardd.h)
+@@ -46,7 +46,7 @@ endif()
  
      add_executable(ksysguardd ${ksysguardd_SRCS})
      set_property(TARGET ksysguardd PROPERTY C_STANDARD 11)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201906261045.x5QAjYhM067802>