summaryrefslogtreecommitdiffhomepage
path: root/subr
diff options
context:
space:
mode:
Diffstat (limited to 'subr')
-rw-r--r--subr/pkg_configure_autotools.subr10
1 files changed, 10 insertions, 0 deletions
diff --git a/subr/pkg_configure_autotools.subr b/subr/pkg_configure_autotools.subr
index c91a08a3..4f7f76ed 100644
--- a/subr/pkg_configure_autotools.subr
+++ b/subr/pkg_configure_autotools.subr
@@ -29,6 +29,10 @@ pkg_configure_autotools() {
"${MIDIPIX_BUILD_PWD}/etc/config.sub" \
"${_subdir_tgt}/config.sub"; then
return 1;
+ elif ! rtl_fileop install -m 0700 \
+ "${MIDIPIX_BUILD_PWD}/etc/config.guess" \
+ "${_subdir_tgt}/config.guess"; then
+ return 1;
else
break;
fi;
@@ -52,6 +56,12 @@ pkg_configure_autotools() {
return 1;
fi;
done
+ for _fname in $(find "${PKG_BASE_DIR}/${PKG_SUBDIR}" -name config.guess); do
+ if ! rtl_fileop mv "${_fname}" "${_fname}.orig"\
+ || ! rtl_fileop install -m 0700 "${MIDIPIX_BUILD_PWD}/etc/config.guess" "${_fname}"; then
+ return 1;
+ fi;
+ done
if [ "${PKG_BUILD_TYPE}" != host ]; then
if ! rtl_fileop touch "${PKG_BUILD_DIR}/config.cache"; then
return 1;