summaryrefslogtreecommitdiffhomepage
path: root/subr/pkg_configure_autotools.subr
diff options
context:
space:
mode:
Diffstat (limited to 'subr/pkg_configure_autotools.subr')
-rw-r--r--subr/pkg_configure_autotools.subr8
1 files changed, 4 insertions, 4 deletions
diff --git a/subr/pkg_configure_autotools.subr b/subr/pkg_configure_autotools.subr
index 219b1719..1617895d 100644
--- a/subr/pkg_configure_autotools.subr
+++ b/subr/pkg_configure_autotools.subr
@@ -12,7 +12,7 @@ pkg_configure_autotools() {
&& [ ! -e "${PKG_BASE_DIR}/${PKG_SUBDIR}/configure" ]; then
for _script_fname in bootstrap bootstrap.sh autogen.sh ""; do
if [ -z "${_script_fname}" ]; then
- (ex_build_fileop cd "${PKG_BASE_DIR}/${PKG_SUBDIR}" && autoconf)\
+ (ex_rtl_fileop cd "${PKG_BASE_DIR}/${PKG_SUBDIR}" && autoconf)\
|| exit 1 && break;
elif [ -e "${PKG_BASE_DIR}/${PKG_SUBDIR}/${_script_fname}" ]; then
for _subdir_tgt in "${PKG_BASE_DIR}/${PKG_SUBDIR}/build-aux" "${PKG_BASE_DIR}/${PKG_SUBDIR}"; do
@@ -26,7 +26,7 @@ pkg_configure_autotools() {
break;
fi;
done;
- (ex_build_fileop cd "${PKG_BASE_DIR}/${PKG_SUBDIR}" && \
+ (ex_rtl_fileop cd "${PKG_BASE_DIR}/${PKG_SUBDIR}" && \
"${SHELL}" "${_script_fname}") || exit 1 && break;
fi;
done;
@@ -39,10 +39,10 @@ pkg_configure_autotools() {
if [ "${PKG_BUILD_TYPE}" != host ]; then
if [ -n "${PKG_CONFIG_CACHE}" ]; then
echo "${PKG_CONFIG_CACHE}" |\
- tr " " "\n" >> "${PKG_BUILD_DIR}/config.cache";
+ tr " " "\n" > "${PKG_BUILD_DIR}/config.cache";
if [ -n "${PKG_CONFIG_CACHE_EXTRA}" ]; then
echo "${PKG_CONFIG_CACHE_EXTRA}" |\
- tr " " "\n" >> "${PKG_BUILD_DIR}/config.cache";
+ tr " " "\n" >> "${PKG_BUILD_DIR}/config.cache";
fi;
fi;
sed -i"" "s,%PREFIX%,${PKG_PREFIX},g" "${PKG_BUILD_DIR}/config.cache";