diff options
author | Lucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de> | 2017-09-13 20:08:23 +0000 |
---|---|---|
committer | Lucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de> | 2017-09-13 20:08:23 +0000 |
commit | a2f29389077809629393c6cc72bcaedd4f5d5540 (patch) | |
tree | 5256fc16537052e2153c375ab70360fbae89ce37 /subr | |
parent | f4f0886a3ee9db8ae2ec5a40306020cdb4d1da3f (diff) | |
download | midipix_build-a2f29389077809629393c6cc72bcaedd4f5d5540.tar.bz2 midipix_build-a2f29389077809629393c6cc72bcaedd4f5d5540.tar.xz |
vars/build.vars: adds ruby_host v2.3.0 in order to cross-compile ruby v2.3.0 across platforms.
subr/pkg_autoconf.subr: skip cp(1)ing etc/config.cache when ${PKG_BUILD_TYPE} is host.
Diffstat (limited to 'subr')
-rw-r--r-- | subr/pkg_autoconf.subr | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/subr/pkg_autoconf.subr b/subr/pkg_autoconf.subr index 6ceec26b..810ec5a7 100644 --- a/subr/pkg_autoconf.subr +++ b/subr/pkg_autoconf.subr @@ -36,9 +36,11 @@ pkg_autoconf() { fi; done; fi; - for __ in ${PKG_BUILD_DIR} ${PKG_CONFIG_CACHE_EXTRA}; do - build_fileop cp "${MIDIPIX_BUILD_PWD}/etc/config.cache" "${WORKDIR}/${__}/"; - done; + if [ "${PKG_BUILD_TYPE}" != host ]; then + for __ in ${PKG_BUILD_DIR} ${PKG_CONFIG_CACHE_EXTRA}; do + build_fileop cp "${MIDIPIX_BUILD_PWD}/etc/config.cache" "${WORKDIR}/${__}/"; + done; + fi; fi; }; |