1 |
commit: c25bd87dfe740a26b0d57cf0c1c2098745b1b39e |
2 |
Author: Jason Zaman <perfinion <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Apr 26 04:38:08 2017 +0000 |
4 |
Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Apr 26 18:14:09 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c25bd87d |
7 |
|
8 |
sys-libs/libsemanage: build paths patch is merged upstream |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
|
12 |
.../files/libsemanage-2.7-build-paths.patch | 37 ---------------------- |
13 |
sys-libs/libsemanage/libsemanage-9999.ebuild | 2 -- |
14 |
2 files changed, 39 deletions(-) |
15 |
|
16 |
diff --git a/sys-libs/libsemanage/files/libsemanage-2.7-build-paths.patch b/sys-libs/libsemanage/files/libsemanage-2.7-build-paths.patch |
17 |
deleted file mode 100644 |
18 |
index 4c2ad0d9462..00000000000 |
19 |
--- a/sys-libs/libsemanage/files/libsemanage-2.7-build-paths.patch |
20 |
+++ /dev/null |
21 |
@@ -1,37 +0,0 @@ |
22 |
-there's no point in using -I/-L flags to the system paths and this breaks |
23 |
-cross-compiling. just drop them. |
24 |
- |
25 |
-diff --git a/libsemanage/src/Makefile b/libsemanage/src/Makefile |
26 |
-index ef25902..7aad334 100644 |
27 |
---- libsemanage/src/Makefile |
28 |
-+++ libsemanage/src/Makefile |
29 |
-@@ -61,7 +61,7 @@ CFLAGS ?= -Werror -Wall -W -Wundef -Wshadow -Wmissing-noreturn -Wmissing-format- |
30 |
- SWIG_CFLAGS += -Wno-error -Wno-unused-but-set-variable -Wno-unused-variable -Wno-shadow \ |
31 |
- -Wno-unused-parameter |
32 |
- |
33 |
--override CFLAGS += -I../include -I$(INCLUDEDIR) -D_GNU_SOURCE |
34 |
-+override CFLAGS += -I../include -D_GNU_SOURCE |
35 |
- RANLIB ?= ranlib |
36 |
- |
37 |
- SWIG = swig -Wall -python -o $(SWIGCOUT) -outdir ./ |
38 |
-@@ -81,17 +81,17 @@ $(SWIGRUBYLOBJ): $(SWIGRUBYCOUT) |
39 |
- $(CC) $(CFLAGS) $(SWIG_CFLAGS) $(RUBYINC) -fPIC -DSHARED -c -o $@ $< |
40 |
- |
41 |
- $(SWIGSO): $(SWIGLOBJ) |
42 |
-- $(CC) $(CFLAGS) $(LDFLAGS) -shared -o $@ $< -L. -lsemanage $(PYLIBS) -L$(LIBDIR) |
43 |
-+ $(CC) $(CFLAGS) $(LDFLAGS) -shared -o $@ $< -L. -lsemanage $(PYLIBS) |
44 |
- |
45 |
- $(SWIGRUBYSO): $(SWIGRUBYLOBJ) |
46 |
-- $(CC) $(CFLAGS) $(LDFLAGS) -shared -o $@ $^ -L. -lsemanage $(RUBYLIBS) -L$(LIBDIR) |
47 |
-+ $(CC) $(CFLAGS) $(LDFLAGS) -shared -o $@ $^ -L. -lsemanage $(RUBYLIBS) |
48 |
- |
49 |
- $(LIBA): $(OBJS) |
50 |
- $(AR) rcs $@ $^ |
51 |
- $(RANLIB) $@ |
52 |
- |
53 |
- $(LIBSO): $(LOBJS) |
54 |
-- $(CC) $(CFLAGS) $(LDFLAGS) -shared -o $@ $^ -lsepol -laudit -lselinux -lbz2 -L$(LIBDIR) -Wl,-soname,$(LIBSO),--version-script=libsemanage.map,-z,defs |
55 |
-+ $(CC) $(CFLAGS) $(LDFLAGS) -shared -o $@ $^ -lsepol -laudit -lselinux -lbz2 -Wl,-soname,$(LIBSO),--version-script=libsemanage.map,-z,defs |
56 |
- ln -sf $@ $(TARGET) |
57 |
- |
58 |
- $(LIBPC): $(LIBPC).in ../VERSION |
59 |
|
60 |
diff --git a/sys-libs/libsemanage/libsemanage-9999.ebuild b/sys-libs/libsemanage/libsemanage-9999.ebuild |
61 |
index 786c3994ea4..085031fc41e 100644 |
62 |
--- a/sys-libs/libsemanage/libsemanage-9999.ebuild |
63 |
+++ b/sys-libs/libsemanage/libsemanage-9999.ebuild |
64 |
@@ -71,8 +71,6 @@ src_prepare() { |
65 |
echo "# decompression of modules in the module store." >> "${S}/src/semanage.conf" |
66 |
echo "bzip-small=true" >> "${S}/src/semanage.conf" |
67 |
|
68 |
- eapply "${FILESDIR}"/${PN}-2.7-build-paths.patch |
69 |
- |
70 |
eapply_user |
71 |
|
72 |
multilib_copy_sources |