mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-21 22:47:14 -08:00
net-misc/oidc-agent: 4.5.1: pass USE_SO vars to all emake calls
Signed-off-by: Marek Szuba <marecki@gentoo.org>
This commit is contained in:
@@ -38,17 +38,24 @@ src_prepare() {
|
||||
sed -i -e 's|^\(\s\+\)@|\1|' Makefile || die "Failed to increase verbosity in Makefile"
|
||||
}
|
||||
|
||||
oidc_emake() {
|
||||
local mymakeargs=(
|
||||
USE_CJSON_SO=1
|
||||
USE_LIST_SO=0
|
||||
USE_MUSTACHE_SO=0
|
||||
USE_ARGP_SO=$(usex elibc_musl 1 0)
|
||||
)
|
||||
|
||||
emake "${mymakeargs[@]}" $@
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local -x USE_CJSON_SO=1
|
||||
local -x USE_LIST_SO=0
|
||||
local -x USE_MUSTACHE_SO=0
|
||||
use elibc_musl && local -x USE_ARGP_SO=1
|
||||
emake -j1 create_obj_dir_structure create_picobj_dir_structure # Bug #880157
|
||||
emake
|
||||
oidc_emake -j1 create_obj_dir_structure create_picobj_dir_structure # Bug #880157
|
||||
oidc_emake
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake \
|
||||
oidc_emake \
|
||||
PREFIX="${ED}" \
|
||||
BIN_AFTER_INST_PATH="/usr" \
|
||||
INCLUDE_PATH="${ED}"/usr/include \
|
||||
|
||||
Reference in New Issue
Block a user