summaryrefslogtreecommitdiff
path: root/devel/glib2/patches/patch-gio_meson.build
blob: aeb61693499b18d7d54542d95bf06483a309af0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-gio_meson.build,v 1.9 2022/07/24 21:24:56 wiz Exp $

Disable inotify on SunOS.

--- gio/meson.build.orig	2022-05-30 13:26:47.000000000 +0000
+++ gio/meson.build
@@ -754,7 +754,7 @@ gioenumtypes_c = custom_target('gioenumt
 gioenumtypes_dep = declare_dependency(sources : [gioenumtypes_h, glib_enumtypes_h])
 
 # inotify
-if glib_conf.has('HAVE_SYS_INOTIFY_H') and have_func_inotify_init1
+if glib_conf.has('HAVE_SYS_INOTIFY_H') and have_func_inotify_init1 and host_system != 'sunos'
   subdir('inotify')
   internal_deps += [ inotify_lib ]
 endif