Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=multilib.git;a=commitdiff;h=e9ba8a362382ecadf95c30c23d992cb7f47bb678

commit e9ba8a362382ecadf95c30c23d992cb7f47bb678
Author: crazy <[email protected]>
Date:   Sat Oct 22 18:09:32 2016 +0200

hack alarm ...
* well I really don't like this make distclean .. but since we need to
* fix schemas first and this is only possible after i686 is removed
* lets try with an : 'move around' around for now:
1) setup 32bit ENV
2) goto $Fsrcdir and copy $_F_cd_path to a clean dir
3) run Fbuild ( 32bit )
4) remove $_F_cd_path and replace with the copy
5) setup 64bit ENV
5) Fbuild ( 64bit )
* hackISH but I don't really trust autotools =)

diff --git a/source/include/cross32.sh b/source/include/cross32.sh
index 53a4c9b..749284a 100644
--- a/source/include/cross32.sh
+++ b/source/include/cross32.sh
@@ -210,8 +210,14 @@ Fcross32_delete_empty() {
__cross32_common_build() {

Fcross32_prepare
+       ## untill we fix schemas HACK!
+       Fexec cd $Fsrcdir || Fdie
+       Fexec cp -Ra "$_F_cd_path" "${_F_cd_path}-2" || Fdie
Fbuild
-       make distclean ## FIXME.. maybe copy source ?
+       ## HACK part2
+       Fexec cd $Fsrcdir || Fdie
+       Fexec rm -rf "./$_F_cd_path" || Fdie
+       Fexec mv "${_F_cd_path}-2" "${_F_cd_path}" || Fdie
Fcross32_reset_and_fix
}

@@ -258,14 +264,14 @@ Fbuild_cross32() {

Fcross32_common_build ## 32bit
Fcross32_delete_empty
-               Fbuild_no_patch ## second build 64bit
+               Fbuild ## second build 64bit
else
## with subpackge
Fmessage "Auto building lib32-${pkgname} subpackage"
Fcross32_common_build
Fcross32_delete_empty
Fsplit "${subpkgs[0]}" /\* ## everything else ignored only first one
-               Fbuild_no_patch ## 64bit
+               Fbuild ## 64bit
fi

}
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to