summaryrefslogtreecommitdiffhomepage
path: root/207.libz.build
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>2016-02-06 16:47:09 +0100
committerLucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>2016-02-06 19:13:04 +0100
commitc497546f591a3cc128abda42d0026c46ffdd6c36 (patch)
tree7d4543fc3b502eb91a4c2aa8221a3382ecbfa611 /207.libz.build
parent29df0511d6153d790fac4fa972f61e4a7e693280 (diff)
downloadmidipix_build-c497546f591a3cc128abda42d0026c46ffdd6c36.tar.bz2
midipix_build-c497546f591a3cc128abda42d0026c46ffdd6c36.tar.xz
- 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.
Diffstat (limited to '207.libz.build')
-rw-r--r--207.libz.build4
1 files changed, 3 insertions, 1 deletions
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