]>
Commit | Line | Data |
---|---|---|
be126f80 JB |
1 | --- libsemanage-2.4/src/conf-parse.y.orig 2015-02-02 15:38:10.000000000 +0100 |
2 | +++ libsemanage-2.4/src/conf-parse.y 2015-10-25 16:33:24.439519078 +0100 | |
3 | @@ -320,7 +320,7 @@ | |
4 | conf->store_path = strdup(basename(selinux_policy_root())); | |
5 | conf->ignoredirs = NULL; | |
6 | conf->store_root_path = strdup("/var/lib/selinux"); | |
7 | - conf->compiler_directory_path = strdup("/usr/libexec/selinux/hll"); | |
8 | + conf->compiler_directory_path = strdup(LIBEXECDIR "/selinux/hll"); | |
9 | conf->policyvers = sepol_policy_kern_vers_max(); | |
10 | conf->target_platform = SEPOL_TARGET_SELINUX; | |
11 | conf->expand_check = 1; | |
a90263ff JB |
12 | --- libsemanage-2.8/src/Makefile.orig 2018-05-24 20:21:09.000000000 +0200 |
13 | +++ libsemanage-2.8/src/Makefile 2018-06-09 08:48:09.813027697 +0200 | |
5aadb0da | 14 | @@ -10,6 +10,7 @@ |
be126f80 | 15 | # Installation directories. |
a90263ff | 16 | PREFIX ?= /usr |
be126f80 JB |
17 | LIBDIR ?= $(PREFIX)/lib |
18 | +LIBEXECDIR ?= $(PREFIX)/libexec | |
be126f80 | 19 | INCLUDEDIR ?= $(PREFIX)/include |
5aadb0da | 20 | PYINC ?= $(shell $(PKG_CONFIG) --cflags $(PYPREFIX)) |
a90263ff JB |
21 | PYLIBS ?= $(shell $(PKG_CONFIG) --libs $(PYPREFIX)) |
22 | @@ -58,7 +59,7 @@ | |
be126f80 JB |
23 | SWIG_CFLAGS += -Wno-error -Wno-unused-but-set-variable -Wno-unused-variable -Wno-shadow \ |
24 | -Wno-unused-parameter | |
25 | ||
5aadb0da JB |
26 | -override CFLAGS += -I../include -D_GNU_SOURCE |
27 | +override CFLAGS += -I../include -D_GNU_SOURCE -DLIBEXECDIR=\"$(LIBEXECDIR)\" | |
3b2506ac | 28 | RANLIB ?= ranlib |
be126f80 JB |
29 | |
30 | SWIG = swig -Wall -python -o $(SWIGCOUT) -outdir ./ |