commit:     8b9715ea66f05aefa8240e10dde0edc7830c4a19
Author:     Jason Zaman <perfinion <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 25 12:18:47 2018 +0000
Commit:     Jason Zaman <perfinion <AT> gentoo <DOT> org>
CommitDate: Thu Apr 26 11:21:45 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b9715ea

sys-libs/libselinux: update live ebuild

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 sys-libs/libselinux/libselinux-9999.ebuild | 17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

diff --git a/sys-libs/libselinux/libselinux-9999.ebuild 
b/sys-libs/libselinux/libselinux-9999.ebuild
index fdd6f7fd333..7fb1b8e7e48 100644
--- a/sys-libs/libselinux/libselinux-9999.ebuild
+++ b/sys-libs/libselinux/libselinux-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -10,7 +10,7 @@ inherit multilib python-r1 toolchain-funcs multilib-minimal
 
 MY_P="${P//_/-}"
 SEPOL_VER="${PV}"
-MY_RELEASEDATE="20170804"
+MY_RELEASEDATE="20180419"
 
 DESCRIPTION="SELinux userland library"
 HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki";
@@ -53,7 +53,7 @@ multilib_src_compile() {
 
        emake \
                LIBDIR="\$(PREFIX)/$(get_libdir)" \
-               SHLIBDIR="\$(DESTDIR)/$(get_libdir)" \
+               SHLIBDIR="/$(get_libdir)" \
                LDFLAGS="-fPIC ${LDFLAGS} -pthread" \
                USE_PCRE2="$(usex pcre2 y n)" \
                all
@@ -63,7 +63,7 @@ multilib_src_compile() {
                        emake \
                                LDFLAGS="-fPIC ${LDFLAGS} -lpthread" \
                                LIBDIR="\$(PREFIX)/$(get_libdir)" \
-                               SHLIBDIR="\$(DESTDIR)/$(get_libdir)" \
+                               SHLIBDIR="/$(get_libdir)" \
                                USE_PCRE2="$(usex pcre2 y n)" \
                                pywrap
                }
@@ -79,7 +79,7 @@ multilib_src_compile() {
                                RUBY=${1} \
                                LDFLAGS="-fPIC ${LDFLAGS} -lpthread" \
                                LIBDIR="\$(PREFIX)/$(get_libdir)" \
-                               SHLIBDIR="\$(DESTDIR)/$(get_libdir)" \
+                               SHLIBDIR="/$(get_libdir)" \
                                USE_PCRE2="$(usex pcre2 y n)" \
                                rubywrap
                }
@@ -94,8 +94,7 @@ multilib_src_compile() {
 multilib_src_install() {
        emake DESTDIR="${D}" \
                LIBDIR="\$(PREFIX)/$(get_libdir)" \
-               SHLIBDIR="\$(DESTDIR)/$(get_libdir)" \
-               LIBSEPOLA="/usr/$(get_libdir)/libsepol.a" \
+               SHLIBDIR="/$(get_libdir)" \
                USE_PCRE2="$(usex pcre2 y n)" \
                install
 
@@ -103,7 +102,7 @@ multilib_src_install() {
                installation() {
                        emake DESTDIR="${D}" \
                                LIBDIR="\$(PREFIX)/$(get_libdir)" \
-                               LIBSEPOLA="/usr/$(get_libdir)/libsepol.a" \
+                               SHLIBDIR="/$(get_libdir)" \
                                USE_PCRE2="$(usex pcre2 y n)" \
                                install-pywrap
                        python_optimize # bug 531638
@@ -118,7 +117,7 @@ multilib_src_install() {
                        rm src/selinuxswig_ruby_wrap.lo
                        emake DESTDIR="${D}" \
                                LIBDIR="\$(PREFIX)/$(get_libdir)" \
-                               LIBSEPOLA="/usr/$(get_libdir)/libsepol.a" \
+                               SHLIBDIR="/$(get_libdir)" \
                                RUBY=${1} \
                                USE_PCRE2="$(usex pcre2 y n)" \
                                install-rubywrap

Reply via email to