sys-libs/libsemanage: update live ebuild
authorJason Zaman <perfinion@gentoo.org>
Tue, 13 Jun 2017 05:09:44 +0000 (13:09 +0800)
committerJason Zaman <perfinion@gentoo.org>
Tue, 13 Jun 2017 15:10:40 +0000 (23:10 +0800)
Package-Manager: Portage-2.3.5, Repoman-2.3.1

sys-libs/libsemanage/libsemanage-9999.ebuild

index 2b9f9cf3743b03662dcfecda6b3ff88a5f99206d..72e96cc99d325957d90968477addd54a7bb1c888 100644 (file)
@@ -7,7 +7,7 @@ PYTHON_COMPAT=( python{2_7,3_4,3_5} )
 inherit multilib python-r1 toolchain-funcs multilib-minimal
 
 MY_P="${P//_/-}"
-MY_RELEASEDATE="20161014"
+MY_RELEASEDATE="20170609"
 
 SEPOL_VER="${PV}"
 SELNX_VER="${PV}"
@@ -85,7 +85,11 @@ multilib_src_compile() {
 
        if multilib_is_native_abi && use python; then
                building_py() {
-                       emake "$@"
+                       emake \
+                               AR="$(tc-getAR)" \
+                               CC="$(tc-getCC)" \
+                               LIBDIR="${EPREFIX}/usr/$(get_libdir)" \
+                               "$@"
                }
                python_foreach_impl building_py swigify
                python_foreach_impl building_py pywrap