commit: f68a3873380140c91e7ea1d8d4872649cf8d1aee
Author: Michael Haubenwallner <haubi <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 11 14:24:51 2020 +0000
Commit: Michael Haubenwallner <haubi <AT> gentoo <DOT> org>
CommitDate: Wed Mar 11 15:47:17 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f68a3873
prefix/winnt/profile.bashrc: rename funcs to winnt_
Provide the winnt_post_src_install and call that one in post_src_install
rather than performing all the operation directly in post_src_install.
Signed-off-by: Michael Haubenwallner <haubi <AT> gentoo.org>
profiles/prefix/windows/winnt/profile.bashrc | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/profiles/prefix/windows/winnt/profile.bashrc
b/profiles/prefix/windows/winnt/profile.bashrc
index 0670a48a5b1..c613a56cd98 100644
--- a/profiles/prefix/windows/winnt/profile.bashrc
+++ b/profiles/prefix/windows/winnt/profile.bashrc
@@ -48,7 +48,7 @@ export
PKG_CONFIG_PATH="${EPREFIX}/lib/pkgconfig:${EPREFIX}/usr/lib/pkgconfig"
#
#######################################################################
-windows_setup_dllhelper() {
+winnt_setup_dllhelper() {
case ${CATEGORY}/${PN} in
sys-libs/zlib |\
'')
@@ -58,13 +58,17 @@ windows_setup_dllhelper() {
# and installation is done using cp, we override cp to
# additionally copy the dll when the library is copied.
ebegin "Setting up wrapper to copy the DLL along the LIB"
- windows_setup_dllhelper_cp
+ winnt_setup_dllhelper_cp
eend $?
;;
esac
}
post_src_install() {
+ winnt_post_src_install
+}
+
+winnt_post_src_install() {
cd "${ED}" || return 0
#
# File names being treated as import library:
@@ -185,7 +189,7 @@ post_src_install() {
done
}
-windows_setup_dllhelper_cp() {
+winnt_setup_dllhelper_cp() {
if ! [[ $(type -P cp) -ef ${T}/dllhelper/cp ]]
then
mkdir -p "${T}/dllhelper"
@@ -288,5 +292,5 @@ EOCP
if [[ ${EBUILD_PHASE} == 'setup' ]]
then
- windows_setup_dllhelper
+ winnt_setup_dllhelper
fi