Add selinux build fixes

There were a couple of build failures due to selinux packages accidentally
relying on host packages.
This commit is contained in:
Matthew Garrett 2015-06-30 11:15:15 -07:00
parent 90bb5a2d94
commit 01ae86a31e
4 changed files with 5 additions and 3 deletions

View File

@ -87,6 +87,7 @@ src_configure() {
--with-java-prefix=${JAVA_HOME} \
--disable-selinux-check \
--disable-bwidget-check \
--with-sepol-devel=${ROOT}/usr \
$(use_enable python swig-python) \
$(use_enable java swig-java) \
$(use_enable X swig-tcl) \

View File

@ -1,2 +1,2 @@
export ac_cv_file__usr_lib64_libsepol_a=yes
export ac_cv_file__build_amd64_usr__usr_lib64_libsepol_a=yes

View File

@ -3,7 +3,7 @@
# $Header: /var/cvsroot/gentoo-x86/sec-policy/selinux-base/selinux-base-2.20141203-r5.ebuild,v 1.3 2015/06/05 16:10:26 perfinion Exp $
EAPI="5"
inherit eutils
inherit eutils systemd
if [[ ${PV} == 9999* ]]; then
EGIT_REPO_URI="${SELINUX_GIT_REPO:-git://anongit.gentoo.org/proj/hardened-refpolicy.git https://anongit.gentoo.org/git/proj/hardened-refpolicy.git}"

View File

@ -6,7 +6,7 @@ EAPI="5"
PYTHON_COMPAT=( python2_7 )
PYTHON_REQ_USE="xml"
inherit multilib python-r1 toolchain-funcs eutils
inherit multilib python-r1 toolchain-funcs eutils systemd
MY_P="${P//_/-}"
@ -100,6 +100,7 @@ src_compile() {
INOTIFYH="$(usex dbus)" \
SESANDBOX="n" \
CC="$(tc-getCC)" \
PREFIX="${ROOT}" \
PYLIBVER="${EPYTHON}" \
LIBDIR="\$(PREFIX)/$(get_libdir)"
}