summaryrefslogtreecommitdiffhomepage
path: root/subr.ex/ex_pkg_env.subr
diff options
context:
space:
mode:
Diffstat (limited to 'subr.ex/ex_pkg_env.subr')
-rw-r--r--subr.ex/ex_pkg_env.subr11
1 files changed, 2 insertions, 9 deletions
diff --git a/subr.ex/ex_pkg_env.subr b/subr.ex/ex_pkg_env.subr
index f7ed3552..2f394e5b 100644
--- a/subr.ex/ex_pkg_env.subr
+++ b/subr.ex/ex_pkg_env.subr
@@ -68,8 +68,8 @@ exp_pkg_env_defaults() {
# Return: zero (0) on success, non-zero (>0) on failure
#
exp_pkg_env_set() {
- local _eppes_build_vars_default="${1}" _eppes_group_name="${2}" _eppes_pkg_name="${3}" \
- _eppes_cmd_name="" _eppes_lvars="" _eppes_var_prefixes="" _eppes_vars_set="" \
+ local _eppes_build_vars_default="${1}" _eppes_group_name="${2}" _eppes_pkg_name="${3}" \
+ _eppes_lvars="" _eppes_var_prefixes="" _eppes_vars_set="" \
_eppes_vars_unset="" _eppes_vname="" _eppes_vnames="" IFS IFS0;
rtl_set_vars _eppes_vars_set BUILD_TYPE "DEFAULT ${_eppes_group_name} PKG_${_eppes_pkg_name}";
@@ -96,13 +96,6 @@ exp_pkg_env_set() {
export "${_eppes_vname}";
done; IFS="${IFS0}";
- for _eppes_vname in AR CC CXX PKG_CONFIG RANLIB; do
- if eval [ '"${PKG_'"${_eppes_vname}"':+1}"' = 1 ]\
- && eval [ '"${PKG_'"${_eppes_vname}"'#/}"' = '"${_eppes_cmd_name:=${PKG_'"${_eppes_vname}"'}}"' ]; then
- eval PKG_${_eppes_vname}='$(which "${_eppes_cmd_name}")';
- fi; _eppes_cmd_name="";
- done;
-
return 0;
};