summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Haubenwallner <haubi@gentoo.org>2020-03-11 15:24:51 +0100
committerMichael Haubenwallner <haubi@gentoo.org>2020-03-11 16:47:17 +0100
commitf68a3873380140c91e7ea1d8d4872649cf8d1aee (patch)
treebe38b419ad7dbf2d420ec4ee810d41ca783fa861 /profiles/prefix
parentprefix/winnt/profile.bashrc: ensure libNAME.lib, libNAME.a (diff)
downloadgentoo-f68a3873380140c91e7ea1d8d4872649cf8d1aee.tar.gz
gentoo-f68a3873380140c91e7ea1d8d4872649cf8d1aee.tar.bz2
gentoo-f68a3873380140c91e7ea1d8d4872649cf8d1aee.zip
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@gentoo.org>
Diffstat (limited to 'profiles/prefix')
-rw-r--r--profiles/prefix/windows/winnt/profile.bashrc12
1 files changed, 8 insertions, 4 deletions
diff --git a/profiles/prefix/windows/winnt/profile.bashrc b/profiles/prefix/windows/winnt/profile.bashrc
index 0670a48a5b12..c613a56cd982 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