summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--subr/pkg_configure_autotools.subr6
-rw-r--r--vars/vim.vars4
2 files changed, 8 insertions, 2 deletions
diff --git a/subr/pkg_configure_autotools.subr b/subr/pkg_configure_autotools.subr
index e6445002..219b1719 100644
--- a/subr/pkg_configure_autotools.subr
+++ b/subr/pkg_configure_autotools.subr
@@ -38,9 +38,11 @@ pkg_configure_autotools() {
-exec install -m 0700 "${MIDIPIX_BUILD_PWD}/etc/config.sub" {} \;;
if [ "${PKG_BUILD_TYPE}" != host ]; then
if [ -n "${PKG_CONFIG_CACHE}" ]; then
- echo "${PKG_CONFIG_CACHE}" > "${PKG_BUILD_DIR}/config.cache";
+ echo "${PKG_CONFIG_CACHE}" |\
+ tr " " "\n" >> "${PKG_BUILD_DIR}/config.cache";
if [ -n "${PKG_CONFIG_CACHE_EXTRA}" ]; then
- echo "${PKG_CONFIG_CACHE_EXTRA}" >> "${PKG_BUILD_DIR}/config.cache";
+ echo "${PKG_CONFIG_CACHE_EXTRA}" |\
+ tr " " "\n" >> "${PKG_BUILD_DIR}/config.cache";
fi;
fi;
sed -i"" "s,%PREFIX%,${PKG_PREFIX},g" "${PKG_BUILD_DIR}/config.cache";
diff --git a/vars/vim.vars b/vars/vim.vars
index b6d79777..d1e6078a 100644
--- a/vars/vim.vars
+++ b/vars/vim.vars
@@ -15,4 +15,8 @@ vim_cv_toupper_broken=no
vim_cv_tty_group=tty
vim_cv_tty_mode=0666"};
+pkg_vim_configure_autotools_post() {
+ ex_build_fileop cp config.cache src/auto;
+};
+
# vim:filetype=sh