Gentoo Archives: gentoo-commits

From: Sven Vermeulen <sven.vermeulen@××××××.be>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/hardened-dev:master commit in: sys-libs/libselinux/
Date: Sun, 28 Oct 2012 20:29:11
Message-Id: 1351455972.7dea37756f6179527f53645119f0df9128f191c5.SwifT@gentoo
1 commit: 7dea37756f6179527f53645119f0df9128f191c5
2 Author: Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be>
3 AuthorDate: Sun Oct 28 20:26:12 2012 +0000
4 Commit: Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be>
5 CommitDate: Sun Oct 28 20:26:12 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=7dea3775
7
8 Removing archive files at end of install if static-libs is not set
9
10 ---
11 sys-libs/libselinux/libselinux-2.1.12-r1.ebuild | 4 ++--
12 1 files changed, 2 insertions(+), 2 deletions(-)
13
14 diff --git a/sys-libs/libselinux/libselinux-2.1.12-r1.ebuild b/sys-libs/libselinux/libselinux-2.1.12-r1.ebuild
15 index fc039b8..e512cf9 100644
16 --- a/sys-libs/libselinux/libselinux-2.1.12-r1.ebuild
17 +++ b/sys-libs/libselinux/libselinux-2.1.12-r1.ebuild
18 @@ -81,8 +81,6 @@ src_compile() {
19 src_install() {
20 emake DESTDIR="${D}" install || die
21
22 - use static-libs || find "${D}"/usr/ -name '*.a' -a '!' -name '*libselinux*.a' -delete
23 -
24 if use python; then
25 installation() {
26 emake DESTDIR="${D}" PYLIBVER="python$(python_get_version)" PYPREFIX="python-$(python_get_version)" install-pywrap
27 @@ -93,6 +91,8 @@ src_install() {
28 if use ruby; then
29 emake DESTDIR="${D}" install-rubywrap || die
30 fi
31 +
32 + use static-libs || find "${D}"/usr/ -name '*.a' -a '!' -name '*libselinux*.a' -delete
33 }
34
35 pkg_postinst() {