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