summaryrefslogtreecommitdiff
path: root/sysutils/libbaloo4/patches/patch-ConfigureChecks.cmake
blob: 888c1c6c3e30d43892a799a47ebd1ffd58a9b0af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-ConfigureChecks.cmake,v 1.1 2016/04/28 07:01:13 markd Exp $

Ignore xattr header check on SunOS.

--- ConfigureChecks.cmake.orig	2014-11-06 12:03:28.000000000 +0000
+++ ConfigureChecks.cmake
@@ -13,7 +13,7 @@ check_include_files("sys/types.h;sys/xat
 # DragonFly BSD, FreeBSD and NetBSD.
 check_include_files("sys/types.h;sys/extattr.h" HAVE_SYS_EXTATTR_H)
 
-if (NOT (HAVE_SYS_XATTR_H OR HAVE_SYS_EXTATTR_H))
+if (NOT (HAVE_SYS_XATTR_H OR HAVE_SYS_EXTATTR_H) AND NOT CMAKE_SYSTEM MATCHES "SunOS.*")
     message(FATAL_ERROR "Baloo requires extended attributes support in the operating system, but no headers have been found.")
 endif ()