diff options
author | Jason Zaman <perfinion@gentoo.org> | 2018-05-21 14:51:16 +0800 |
---|---|---|
committer | Jason Zaman <perfinion@gentoo.org> | 2018-05-21 17:55:33 +0800 |
commit | a2e83e02da177b915b166a20ca83862c476ef2d9 (patch) | |
tree | 7c28b4c20b5d7808876a33c78c5775b228091651 /sys-libs | |
parent | app-text/build-docbook-catalog: Drop old (diff) | |
download | gentoo-a2e83e02da177b915b166a20ca83862c476ef2d9.tar.gz gentoo-a2e83e02da177b915b166a20ca83862c476ef2d9.tar.bz2 gentoo-a2e83e02da177b915b166a20ca83862c476ef2d9.zip |
sys-libs/libselinux: link to sys-libs/fts-standalone on musl
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'sys-libs')
-rw-r--r-- | sys-libs/libselinux/libselinux-9999.ebuild | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys-libs/libselinux/libselinux-9999.ebuild b/sys-libs/libselinux/libselinux-9999.ebuild index edb830d3fa65..7b90d5d867ba 100644 --- a/sys-libs/libselinux/libselinux-9999.ebuild +++ b/sys-libs/libselinux/libselinux-9999.ebuild @@ -36,7 +36,8 @@ RDEPEND=">=sys-libs/libsepol-${SEPOL_VER}:=[${MULTILIB_USEDEP}] python? ( ${PYTHON_DEPS} ) ruby? ( ruby_targets_ruby23? ( dev-lang/ruby:2.3 ) - )" + ) + elibc_musl? ( sys-libs/fts-standalone )" DEPEND="${RDEPEND} virtual/pkgconfig python? ( >=dev-lang/swig-2.0.9 ) @@ -56,6 +57,7 @@ multilib_src_compile() { SHLIBDIR="/$(get_libdir)" \ LDFLAGS="-fPIC ${LDFLAGS} -pthread" \ USE_PCRE2="$(usex pcre2 y n)" \ + FTS_LDLIBS="$(usex elibc_musl '-lfts' '')" \ all if multilib_is_native_abi && use python; then @@ -65,6 +67,7 @@ multilib_src_compile() { LIBDIR="\$(PREFIX)/$(get_libdir)" \ SHLIBDIR="/$(get_libdir)" \ USE_PCRE2="$(usex pcre2 y n)" \ + FTS_LDLIBS="$(usex elibc_musl '-lfts' '')" \ pywrap } python_foreach_impl building @@ -81,6 +84,7 @@ multilib_src_compile() { LIBDIR="\$(PREFIX)/$(get_libdir)" \ SHLIBDIR="/$(get_libdir)" \ USE_PCRE2="$(usex pcre2 y n)" \ + FTS_LDLIBS="$(usex elibc_musl '-lfts' '')" \ rubywrap } for RUBYTARGET in ${USE_RUBY}; do |