summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de>2017-11-28 13:59:56 +0000
committerLucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de>2017-11-28 13:59:56 +0000
commit3e375a1dc89a03f7db5d6282aee740a4de1261b5 (patch)
tree31859c0bf08a951203e941440ffa71b803ff1b22
parent5718ef533eb63f9d379d14b1f74508b2a5f43266 (diff)
downloadmidipix_build-3e375a1dc89a03f7db5d6282aee740a4de1261b5.tar.bz2
midipix_build-3e375a1dc89a03f7db5d6282aee740a4de1261b5.tar.xz
etc/config.cache: adds git and pcre <- {lighttpd,smallbasic}.
subr/pkg_configure_autotools.subr: substitute %PREFIX% within installed config.cache.
-rw-r--r--etc/config.cache11
-rw-r--r--subr/pkg_configure_autotools.subr1
2 files changed, 11 insertions, 1 deletions
diff --git a/etc/config.cache b/etc/config.cache
index dc65bf94..a141ad47 100644
--- a/etc/config.cache
+++ b/etc/config.cache
@@ -34,6 +34,10 @@ bash_cv_unusable_rtsigs=no
ac_cv_path_M4=/bin/m4
ac_cv_prog_gnu_m4_gnu=yes
+# git
+ac_cv_fread_reads_directories=1
+ac_cv_snprintf_returns_bogus=0
+
# glib
glib_cv_stack_grows=yes
glib_cv_uscore=yes
@@ -171,12 +175,15 @@ xorg_cv_malloc0_returns_null=yes
# mc
ac_list_mounted_fs=found
+# pcre <- {lighttpd,smallbasic}
+ac_cv_path_PCRECONFIG=%PREFIX%/bin/pcre-config
+
# procps_ng
ac_cv_func_realloc_0_nonnull=yes
# vim
ac_cv_small_wchar_t=no
-ac_x_header_dirs=${PKG_PREFIX}/include
+ac_x_header_dirs=%PREFIX%/include
vim_cv_bcopy_handles_overlap=yes
vim_cv_getcwd_broken=no
vim_cv_memcpy_handles_overlap=no
@@ -189,3 +196,5 @@ vim_cv_tty_mode=0666
# xcb
ac_cv_search_sendmsg=no
+
+# vim:filetype=sh
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;
};