From c497546f591a3cc128abda42d0026c46ffdd6c36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz=20=28arab=2C=20vx?= =?UTF-8?q?p=29?= Date: Sat, 6 Feb 2016 16:47:09 +0100 Subject: - Refactored package building procedure into build.vars. - Changed build directory name format to $[1}-{cross,native}-${TARGET}. - Fixed binutils.host DESTDIR and libelf installation bug. --- 207.libz.build | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to '207.libz.build') diff --git a/207.libz.build b/207.libz.build index 2c29870c..4afb479a 100644 --- a/207.libz.build +++ b/207.libz.build @@ -18,7 +18,7 @@ if ! is_build_script_done extracted; then set_build_script_done extracted -patched; fi; if ! is_build_script_done configured; then - set_build_dir ${_pkg_fname%%-*} ${TARGET}; + set_build_dir ${_pkg_fname%%-*} native; rm_if_exists -c -m ${_build_dir}; cp -a ../portage/config.cache .; CFLAGS="${CFLAGS_PACKAGES}" \ @@ -27,6 +27,8 @@ if ! is_build_script_done configured; then --prefix= \ --target=${TARGET}; set_build_script_done configured -built; +else + cd ${_build_dir}; fi; if ! is_build_script_done built; then if [ "x${3}" = "xlibz" ]; then -- cgit v1.2.3