summaryrefslogtreecommitdiff
blob: 6a31e255a952968c91338a152c0dd023fbaba354 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff -uNr policycoreutils-2.4-rc2.orig/Makefile policycoreutils-2.4-rc2/Makefile
--- policycoreutils-2.4-rc2.orig/Makefile	2014-08-28 20:22:45.230644554 +0200
+++ policycoreutils-2.4-rc2/Makefile	2014-08-28 20:27:08.642654934 +0200
@@ -1,8 +1,8 @@
 SUBDIRS = sepolicy setfiles semanage load_policy newrole run_init secon audit2allow sestatus semodule_package semodule semodule_link semodule_expand semodule_deps sepolgen-ifgen setsebool scripts po man gui hll
 
-INOTIFYH = $(shell ls /usr/include/sys/inotify.h 2>/dev/null)
+INOTIFYH ?= no
 
-ifeq (${INOTIFYH}, /usr/include/sys/inotify.h)
+ifeq (${INOTIFYH}, yes)
 	SUBDIRS += restorecond
 endif