diff options
-rw-r--r-- | bash/dont_export_funcs.list | 1 | ||||
-rw-r--r-- | bash/eapi/0.lib | 2 | ||||
-rw-r--r-- | bash/eapi/2.lib | 3 | ||||
-rw-r--r-- | bash/eapi/common.lib | 4 | ||||
-rwxr-xr-x | bash/generate_eapi_func_list.bash | 2 |
5 files changed, 4 insertions, 8 deletions
diff --git a/bash/dont_export_funcs.list b/bash/dont_export_funcs.list index 6d1bac60..d217ee92 100644 --- a/bash/dont_export_funcs.list +++ b/bash/dont_export_funcs.list @@ -83,7 +83,6 @@ __get_libdir __helper_check_exit __helper_died __helper_exit -__inject_common_phase_funcs __inject_func_code __inject_phase_funcs __internal_inherit diff --git a/bash/eapi/0.lib b/bash/eapi/0.lib index 35ef2ee7..0525fab2 100644 --- a/bash/eapi/0.lib +++ b/bash/eapi/0.lib @@ -1,4 +1,4 @@ # Copyright: 2012 Brian Harring <ferringb@gmail.com> # license GPL2/BSD 3 -__inject_common_phase_funcs +__inject_phase_funcs __phase_common pkg_nofetch src_{unpack,compile,test} diff --git a/bash/eapi/2.lib b/bash/eapi/2.lib index 1b63af89..d62d6d06 100644 --- a/bash/eapi/2.lib +++ b/bash/eapi/2.lib @@ -1,6 +1,8 @@ # Copyright: 2011-2012 Brian Harring <ferringb@gmail.com> # license GPL2/BSD 3 +source "${PKGCORE_BIN_PATH}"/eapi/1.lib + __phase_eapi2_src_configure() { if [[ -x ${ECONF_SOURCE:-.}/configure ]]; then econf @@ -22,6 +24,5 @@ default() { } __inject_phase_funcs __phase_eapi2 src_{configure,prepare} -__inject_common_phase_funcs : diff --git a/bash/eapi/common.lib b/bash/eapi/common.lib index e1ae97f0..fa54acee 100644 --- a/bash/eapi/common.lib +++ b/bash/eapi/common.lib @@ -447,10 +447,6 @@ __inject_phase_funcs() { done } -__inject_common_phase_funcs() { - __inject_phase_funcs __phase_common pkg_nofetch src_{unpack,compile,test} -} - unpack() { local file filename myfail srcdir taropts tar_subdir taropts='--no-same-owner' diff --git a/bash/generate_eapi_func_list.bash b/bash/generate_eapi_func_list.bash index a5342b5f..eb9f36bc 100755 --- a/bash/generate_eapi_func_list.bash +++ b/bash/generate_eapi_func_list.bash @@ -19,7 +19,7 @@ source "${PKGCORE_BIN_PATH}/isolated-functions.lib" \ || { echo "failed loading isolated-functions.lib" >&2; exit 1; } # pull in common.lib for various functions used in EAPI libs, currently -# __inject_common_phase_funcs() and __inject_phase_funcs() in particular +# __inject_phase_funcs() in particular source "${PKGCORE_BIN_PATH}/eapi/common.lib" \ || { echo "failed loading eapi/common.lib" >&2; exit 1; } |