diff options
Diffstat (limited to 'subr/pkg_configure_autotools.subr')
-rw-r--r-- | subr/pkg_configure_autotools.subr | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/subr/pkg_configure_autotools.subr b/subr/pkg_configure_autotools.subr index 6bc7593c..6b6b3125 100644 --- a/subr/pkg_configure_autotools.subr +++ b/subr/pkg_configure_autotools.subr @@ -38,6 +38,7 @@ pkg_configure_autotools() { -exec install -m 0700 "${MIDIPIX_BUILD_PWD}/etc/config.sub" {} \;; if [ "${PKG_BUILD_TYPE}" != host ]; then ex_build_fileop cp "${MIDIPIX_BUILD_PWD}/etc/config.cache" "${PKG_BUILD_DIR}/"; + sed -i"" "s,%PREFIX%,${PKG_PREFIX},g" "${PKG_BUILD_DIR}/config.cache"; fi; fi; }; |