From 8a4338c602d8ee1eeddb8ede6b42414a6ccf7410 Mon Sep 17 00:00:00 2001 From: Lucio Andrés Illanes Albornoz (arab, vxp) Date: Nov 29 2017 00:26:09 +0000 Subject: subr/pkg_configure_autotools.subr: create ${PKG_BUILD_DIR}/config.cache from ${PKG_CONFIG_CACHE{,_EXTRA}}. etc/config.cache, vars/*.vars: split into vars/*.vars. --- diff --git a/etc/config.cache b/etc/config.cache deleted file mode 100644 index e93a13e..0000000 --- a/etc/config.cache +++ /dev/null @@ -1,204 +0,0 @@ -# apr -ac_cv_file__dev_zero=yes -ac_cv_func_setpgrp_void=yes -ac_cv_sizeof_struct_iovec=16 -ap_cv_void_ptr_lt_long=no -apr_cv_process_shared_works=no -apr_cv_tcp_nodelay_with_cork=no - -# autoconf -ac_cv_buggy_getaddrinfo=no -ac_cv_file__dev_ptc=no -ac_cv_file__dev_ptmx=yes -ac_cv_func_calloc_0_nonnull=yes -ac_cv_func_chown_works=yes -ac_cv_func_getgroups_works=yes -ac_cv_func_malloc_0_nonnull=yes -ac_cv_func_mmap_fixed_mapped=yes -ac_cv_func_strcoll_works=yes -ac_cv_func_strnlen_working=yes -ac_cv_func_working_mktime=yes -gt_cv_int_divbyzero_sigfpe=yes - -# bash -bash_cv_func_sigsetjmp=present -bash_cv_getcwd_malloc=yes -bash_cv_job_control_missing=present -bash_cv_printf_a_format=yes -bash_cv_sys_named_pipes=present -bash_cv_ulimit_maxfds=yes -bash_cv_under_sys_siglist=yes -bash_cv_unusable_rtsigs=no - -# bison -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 -ac_cv_func_posix_getpwuid_r=yes -ac_cv_func_posix_getgrgid_r=yes -glib_cv_eventfd=no - -# glib/gdk -enable_gio_sniffing=yes - -# gnulib -ac_cv_func___fseterr=yes -gl_cv_func_cbrtl_ieee=yes -gl_cv_func_ceilf_ieee=yes -gl_cv_func_ceil_ieee=yes -gl_cv_func_ceill_ieee=yes -gl_cv_func_chown_ctime_works=yes -gl_cv_func_chown_slash_works=yes -gl_cv_func_exp2l_ieee=yes -gl_cv_func_expm1_ieee=yes -gl_cv_func_fcntl_f_dupfd_works=yes -gl_cv_func_fdopendir_works=yes -gl_cv_func_fflush_stdin=yes -gl_cv_func_floorf_ieee=yes -gl_cv_func_fmaf_works=yes -gl_cv_func_fmal_works=yes -gl_cv_func_fma_works=yes -gl_cv_func_fmodf_ieee=yes -gl_cv_func_fmod_ieee=yes -gl_cv_func_fmodl_ieee=yes -gl_cv_func_fpurge_works=yes -gl_cv_func_fseeko=yes -gl_cv_func_futimens_works=yes -gl_cv_func_futimesat_works=yes -gl_cv_func_getcwd_null=yes -gl_cv_func_getgroups_works=yes -gl_cv_func_gettimeofday_clobber=no -gl_cv_func_hypotf_ieee=yes -gl_cv_func_hypot_ieee=yes -gl_cv_func_hypotl_ieee=yes -gl_cv_func_isfinitel_works=yes -gl_cv_func_isnanl_works=yes -gl_cv_func_linkat_slash=yes -gl_cv_func_link_works=yes -gl_cv_func_log10f_ieee=yes -gl_cv_func_log10_ieee=yes -gl_cv_func_log1pf_ieee=yes -gl_cv_func_log1p_ieee=yes -gl_cv_func_log1pl_ieee=yes -gl_cv_func_log2f_ieee=yes -gl_cv_func_log2_ieee=yes -gl_cv_func_logf_ieee=yes -gl_cv_func_log_ieee=yes -gl_cv_func_lstat_dereferences_slashed_symlink=yes -gl_cv_func_mbrlen_empty_input=yes -gl_cv_func_mbrtowc_empty_input=yes -gl_cv_func_memchr_works=yes -gl_cv_func_memmem_works_fast=yes -gl_cv_func_mkdir_trailing_dot_works=yes -gl_cv_func_mkdir_trailing_slash_works=yes -gl_cv_func_mkfifo_works=yes -gl_cv_func_mknod_works=yes -gl_cv_func_modff_ieee=yes -gl_cv_func_modf_ieee=yes -gl_cv_func_modfl_ieee=yes -gl_cv_func_nanosleep=yes -gl_cv_func_open_directory_works=yes -gl_cv_func_perror_works=yes -gl_cv_func_printf_directive_a=yes -gl_cv_func_printf_directive_f=yes -gl_cv_func_printf_directive_n=yes -gl_cv_func_printf_enomem=yes -gl_cv_func_printf_flag_zero=yes -gl_cv_func_printf_infinite_long_double=yes -gl_cv_func_printf_infinite=yes -gl_cv_func_printf_sizes_c99=yes -gl_cv_func_pselect_detects_ebadf=yes -gl_cv_func_ptsname_sets_errno=yes -gl_cv_func_readlink_works=yes -gl_cv_func_realpath_works=yes -gl_cv_func_remainderf_ieee=yes -gl_cv_func_remainder_ieee=yes -gl_cv_func_remainderl_ieee=yes -gl_cv_func_rename_dest_works=yes -gl_cv_func_rename_link_works=yes -gl_cv_func_rename_slash_dst_works=yes -gl_cv_func_rename_slash_src_works=yes -gl_cv_func_rmdir_works=yes -gl_cv_func_roundf_ieee=yes -gl_cv_func_round_ieee=yes -gl_cv_func_select_detects_ebadf=yes -gl_cv_func_setenv_works=yes -gl_cv_func_signbit_gcc=yes -gl_cv_func_signbit=yes -gl_cv_func_sleep_works=yes -gl_cv_func_snprintf_directive_n=yes -gl_cv_func_snprintf_retval_c99=yes -gl_cv_func_snprintf_truncation_c99=yes -gl_cv_func_stat_dir_slash=yes -gl_cv_func_stat_file_slash=yes -gl_cv_func_stpncpy=yes -gl_cv_func_strcasestr_linear=yes -gl_cv_func_strchrnul_works=yes -gl_cv_func_strerror_0_works=yes -gl_cv_func_strstr_linear=yes -gl_cv_func_strtod_works=yes -gl_cv_func_svid_putenv=yes -gl_cv_func_symlink_works=yes -gl_cv_func_tdelete_works=yes -gl_cv_func_truncf_ieee=yes -gl_cv_func_trunc_ieee=yes -gl_cv_func_truncl_ieee=yes -gl_cv_func_tzset_clobber=no -gl_cv_func_ungetc_works=yes -gl_cv_func_unlink_honors_slashes=yes -gl_cv_func_unsetenv_works=yes -gl_cv_func_usleep_works=yes -gl_cv_func_utimensat_works=yes -gl_cv_func_vsnprintf_posix=yes -gl_cv_func_vsnprintf_zerosize_c99=yes -gl_cv_func_vsprintf_posix=yes -gl_cv_func_wcwidth_works=yes -gl_cv_func_working_getdelim=yes -gl_cv_func_working_mkstemp=yes -gl_cv_func_working_mktime=yes -gl_cv_func_working_strerror=yes -gl_cv_struct_dirent_d_ino=yes - -# libevent -ac_pe_target=true - -# libX11 -xorg_cv_malloc0_returns_null=yes - -# mc -ac_list_mounted_fs=found - -# pcre <- {lighttpd,smallbasic} -ac_cv_path_PCRECONFIG=%PREFIX%/bin/pcre-config -ac_cv_prog_have_pcre=%PREFIX%/bin/pcre-config - -# procps_ng -ac_cv_func_realloc_0_nonnull=yes - -# util_linux -ac_cv_prog_NCURSESW6_CONFIG=%PREFIX%/bin/ncursesw6-config - -# vim -ac_cv_small_wchar_t=no -ac_x_header_dirs=%PREFIX%/include -vim_cv_bcopy_handles_overlap=yes -vim_cv_getcwd_broken=no -vim_cv_memcpy_handles_overlap=no -vim_cv_memmove_handles_overlap=yes -vim_cv_stat_ignores_slash=no -vim_cv_terminfo=yes -vim_cv_toupper_broken=no -vim_cv_tty_group=tty -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 6b6b312..e644500 100644 --- a/subr/pkg_configure_autotools.subr +++ b/subr/pkg_configure_autotools.subr @@ -37,7 +37,12 @@ pkg_configure_autotools() { -exec echo install -m 0700 "${MIDIPIX_BUILD_PWD}/etc/config.sub" {} \; \ -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}/"; + if [ -n "${PKG_CONFIG_CACHE}" ]; then + echo "${PKG_CONFIG_CACHE}" > "${PKG_BUILD_DIR}/config.cache"; + if [ -n "${PKG_CONFIG_CACHE_EXTRA}" ]; then + echo "${PKG_CONFIG_CACHE_EXTRA}" >> "${PKG_BUILD_DIR}/config.cache"; + fi; + fi; sed -i"" "s,%PREFIX%,${PKG_PREFIX},g" "${PKG_BUILD_DIR}/config.cache"; fi; fi; diff --git a/vars/apr.vars b/vars/apr.vars index 5a27d45..7bd6757 100644 --- a/vars/apr.vars +++ b/vars/apr.vars @@ -2,6 +2,14 @@ # set -o errexit -o noglob are assumed. # +: ${PKG_APR_CONFIG_CACHE_EXTRA:=" +ac_cv_file__dev_zero=yes +ac_cv_func_setpgrp_void=yes +ac_cv_sizeof_struct_iovec=16 +ap_cv_void_ptr_lt_long=no +apr_cv_process_shared_works=no +apr_cv_tcp_nodelay_with_cork=no"}; + pkg_apr_install_make_post() { sed -e 's,echo "\$APR_BUILD_DIR/libtool",echo '"${PREFIX}"'/bin/slibtool,' \ -e 's,echo "\${installbuilddir}/libtool",echo '"${PREFIX}"'/bin/slibtool,' \ diff --git a/vars/bash.vars b/vars/bash.vars new file mode 100644 index 0000000..3d9bae1 --- /dev/null +++ b/vars/bash.vars @@ -0,0 +1,15 @@ +# +# set -o errexit -o noglob are assumed. +# + +: ${PKG_BASH_CONFIG_CACHE_EXTRA:=" +bash_cv_func_sigsetjmp=present +bash_cv_getcwd_malloc=yes +bash_cv_job_control_missing=present +bash_cv_printf_a_format=yes +bash_cv_sys_named_pipes=present +bash_cv_ulimit_maxfds=yes +bash_cv_under_sys_siglist=yes +bash_cv_unusable_rtsigs=no"}; + +# vim:filetype=sh diff --git a/vars/bison.vars b/vars/bison.vars new file mode 100644 index 0000000..3dca19a --- /dev/null +++ b/vars/bison.vars @@ -0,0 +1,9 @@ +# +# set -o errexit -o noglob are assumed. +# + +: ${PKG_BISON_CONFIG_CACHE_EXTRA:=" +ac_cv_path_M4=/bin/m4 +ac_cv_prog_gnu_m4_gnu=yes"}; + +# vim:filetype=sh diff --git a/vars/build.vars b/vars/build.vars index f3e381c..bb52dbc 100644 --- a/vars/build.vars +++ b/vars/build.vars @@ -1,3 +1,17 @@ +: ${DEFAULT_CONFIG_CACHE:=" +ac_cv_buggy_getaddrinfo=no +ac_cv_file__dev_ptc=no +ac_cv_file__dev_ptmx=yes +ac_cv_func_calloc_0_nonnull=yes +ac_cv_func_chown_works=yes +ac_cv_func_getgroups_works=yes +ac_cv_func_malloc_0_nonnull=yes +ac_cv_func_mmap_fixed_mapped=yes +ac_cv_func_strcoll_works=yes +ac_cv_func_strnlen_working=yes +ac_cv_func_working_mktime=yes +gt_cv_int_divbyzero_sigfpe=yes"}; + # # Build target invariants # @@ -27,7 +41,7 @@ HOST_TOOLCHAIN_DEPS_PREFIX="${PREFIX}"; : ${PKG_PKGCONF_HOST_SHA256SUM:=7ec8b516e655e247f4ba976837cee808134785819ab8f538f652fe919cc6c09f}; : ${PKG_PKGCONF_HOST_VERSION:=0.9.12}; : ${PKG_PKGCONF_HOST_URL:=https://github.com/pkgconf/pkgconf/releases/download/pkgconf-${PKG_PKGCONF_HOST_VERSION}/pkgconf-${PKG_PKGCONF_HOST_VERSION}.tar.bz2}; -: ${PKG_PKGCONF_HOST_CONFIGURE_ARGS:="-C --prefix=${PREFIX_NATIVE}"}; +: ${PKG_PKGCONF_HOST_CONFIGURE_ARGS:="--prefix=${PREFIX_NATIVE}"}; : ${PKG_PKGCONF_HOST_MAKEFLAGS_INSTALL_EXTRA:=prefix=}; : ${PKG_BINUTILS_HOST_SHA256SUM:=250d3b2925c6b211fb16173b0b25bc091c58829fbcad3eb849645e0af52cf7fa}; : ${PKG_BINUTILS_HOST_VERSION:=2.24.51}; @@ -194,7 +208,7 @@ NATIVE_RUNTIME_PREFIX="${PREFIX_NATIVE}"; # HOST_PACKAGES_DEPS_BUILD_TYPE="host"; HOST_PACKAGES_DEPS_CFLAGS_CONFIGURE="${DEFAULT_CFLAGS_HOST}"; -HOST_PACKAGES_DEPS_CONFIGURE_ARGS="-C --disable-nls --prefix=${PREFIX} --program-prefix="; +HOST_PACKAGES_DEPS_CONFIGURE_ARGS="--disable-nls --prefix=${PREFIX} --program-prefix="; HOST_PACKAGES_DEPS_LDFLAGS_CONFIGURE=""; HOST_PACKAGES_DEPS_MAKEFLAGS_INSTALL="PREFIX= prefix="; HOST_PACKAGES_DEPS_PACKAGES=" diff --git a/vars/env.vars b/vars/env.vars index d9e06dd..2599cb3 100644 --- a/vars/env.vars +++ b/vars/env.vars @@ -25,7 +25,7 @@ finish:finish"}; : ${PKG_BUILD_VARS:="BASE_DIR BUILD_DIR BUILD_STEPS_DISABLE BUILD_TYPE CFLAGS_BUILD_EXTRA CFLAGS_CONFIGURE CFLAGS_CONFIGURE_EXTRA - CFLAGS_INSTALL_EXTRA CONFIGURE CONFIGURE_ARGS + CFLAGS_INSTALL_EXTRA CONFIG_CACHE CONFIG_CACHE_EXTRA CONFIGURE CONFIGURE_ARGS CONFIGURE_ARGS_EXTRA CXXFLAGS_CONFIGURE_EXTRA DISABLED ENV_VARS_EXTRA INSTALL_FILES INSTALL_TARGET INSTALL_TARGET_EXTRA LDFLAGS_BUILD_EXTRA LDFLAGS_CONFIGURE LDFLAGS_CONFIGURE_EXTRA diff --git a/vars/gdk.vars b/vars/gdk.vars index 16d03de..4f05c6c 100644 --- a/vars/gdk.vars +++ b/vars/gdk.vars @@ -2,6 +2,9 @@ # set -o errexit -o noglob are assumed. # +: ${PKG_GDB_CONFIG_CACHE_EXTRA:=" +enable_gio_sniffing=yes"}; + pkg_gdk_install_pkgconfig_post() { local _pc_path; for _pc_path in $(find "${PKG_DESTDIR}"/lib/pkgconfig -name \*.pc); do diff --git a/vars/git.vars b/vars/git.vars index fc5fb89..52037a6 100644 --- a/vars/git.vars +++ b/vars/git.vars @@ -2,6 +2,10 @@ # set -o errexit -o noglob are assumed. # +: ${PKG_GIT_CONFIG_CACHE_EXTRA:=" +ac_cv_fread_reads_directories=1 +ac_cv_snprintf_returns_bogus=0"}; + pkg_git_install_post() { local __ _new; for __ in $(find "${PKG_DESTDIR}" -name "Git*::*" -type f); do diff --git a/vars/glib.vars b/vars/glib.vars index fea598c..4b53e56 100644 --- a/vars/glib.vars +++ b/vars/glib.vars @@ -2,6 +2,14 @@ # set -o errexit -o noglob are assumed. # +: ${PKG_GLIB_CONFIG_CACHE_EXTRA:=" +glib_cv_stack_grows=yes +glib_cv_uscore=yes +ac_cv_func_posix_getpwuid_r=yes +ac_cv_func_posix_getgrgid_r=yes +glib_cv_eventfd=no"}; +: ${PKG_GLIB_HOST_CONFIG_CACHE_EXTRA:=${PKG_GLIB_CONFIG_CACHE_EXTRA}}; + pkg_glib_install_pkgconfig_post() { local _pc_path; for _pc_path in $(find "${PKG_DESTDIR}"/lib/pkgconfig -name \*.pc); do diff --git a/vars/gnulib.vars b/vars/gnulib.vars new file mode 100644 index 0000000..67ccaf6 --- /dev/null +++ b/vars/gnulib.vars @@ -0,0 +1,123 @@ +# +# set -o errexit -o noglob are assumed. +# + +: ${PKG_GNULIB_CONFIG_CACHE_EXTRA:=" +ac_cv_func___fseterr=yes +gl_cv_func_cbrtl_ieee=yes +gl_cv_func_ceilf_ieee=yes +gl_cv_func_ceil_ieee=yes +gl_cv_func_ceill_ieee=yes +gl_cv_func_chown_ctime_works=yes +gl_cv_func_chown_slash_works=yes +gl_cv_func_exp2l_ieee=yes +gl_cv_func_expm1_ieee=yes +gl_cv_func_fcntl_f_dupfd_works=yes +gl_cv_func_fdopendir_works=yes +gl_cv_func_fflush_stdin=yes +gl_cv_func_floorf_ieee=yes +gl_cv_func_fmaf_works=yes +gl_cv_func_fmal_works=yes +gl_cv_func_fma_works=yes +gl_cv_func_fmodf_ieee=yes +gl_cv_func_fmod_ieee=yes +gl_cv_func_fmodl_ieee=yes +gl_cv_func_fpurge_works=yes +gl_cv_func_fseeko=yes +gl_cv_func_futimens_works=yes +gl_cv_func_futimesat_works=yes +gl_cv_func_getcwd_null=yes +gl_cv_func_getgroups_works=yes +gl_cv_func_gettimeofday_clobber=no +gl_cv_func_hypotf_ieee=yes +gl_cv_func_hypot_ieee=yes +gl_cv_func_hypotl_ieee=yes +gl_cv_func_isfinitel_works=yes +gl_cv_func_isnanl_works=yes +gl_cv_func_linkat_slash=yes +gl_cv_func_link_works=yes +gl_cv_func_log10f_ieee=yes +gl_cv_func_log10_ieee=yes +gl_cv_func_log1pf_ieee=yes +gl_cv_func_log1p_ieee=yes +gl_cv_func_log1pl_ieee=yes +gl_cv_func_log2f_ieee=yes +gl_cv_func_log2_ieee=yes +gl_cv_func_logf_ieee=yes +gl_cv_func_log_ieee=yes +gl_cv_func_lstat_dereferences_slashed_symlink=yes +gl_cv_func_mbrlen_empty_input=yes +gl_cv_func_mbrtowc_empty_input=yes +gl_cv_func_memchr_works=yes +gl_cv_func_memmem_works_fast=yes +gl_cv_func_mkdir_trailing_dot_works=yes +gl_cv_func_mkdir_trailing_slash_works=yes +gl_cv_func_mkfifo_works=yes +gl_cv_func_mknod_works=yes +gl_cv_func_modff_ieee=yes +gl_cv_func_modf_ieee=yes +gl_cv_func_modfl_ieee=yes +gl_cv_func_nanosleep=yes +gl_cv_func_open_directory_works=yes +gl_cv_func_perror_works=yes +gl_cv_func_printf_directive_a=yes +gl_cv_func_printf_directive_f=yes +gl_cv_func_printf_directive_n=yes +gl_cv_func_printf_enomem=yes +gl_cv_func_printf_flag_zero=yes +gl_cv_func_printf_infinite_long_double=yes +gl_cv_func_printf_infinite=yes +gl_cv_func_printf_sizes_c99=yes +gl_cv_func_pselect_detects_ebadf=yes +gl_cv_func_ptsname_sets_errno=yes +gl_cv_func_readlink_works=yes +gl_cv_func_realpath_works=yes +gl_cv_func_remainderf_ieee=yes +gl_cv_func_remainder_ieee=yes +gl_cv_func_remainderl_ieee=yes +gl_cv_func_rename_dest_works=yes +gl_cv_func_rename_link_works=yes +gl_cv_func_rename_slash_dst_works=yes +gl_cv_func_rename_slash_src_works=yes +gl_cv_func_rmdir_works=yes +gl_cv_func_roundf_ieee=yes +gl_cv_func_round_ieee=yes +gl_cv_func_select_detects_ebadf=yes +gl_cv_func_setenv_works=yes +gl_cv_func_signbit_gcc=yes +gl_cv_func_signbit=yes +gl_cv_func_sleep_works=yes +gl_cv_func_snprintf_directive_n=yes +gl_cv_func_snprintf_retval_c99=yes +gl_cv_func_snprintf_truncation_c99=yes +gl_cv_func_stat_dir_slash=yes +gl_cv_func_stat_file_slash=yes +gl_cv_func_stpncpy=yes +gl_cv_func_strcasestr_linear=yes +gl_cv_func_strchrnul_works=yes +gl_cv_func_strerror_0_works=yes +gl_cv_func_strstr_linear=yes +gl_cv_func_strtod_works=yes +gl_cv_func_svid_putenv=yes +gl_cv_func_symlink_works=yes +gl_cv_func_tdelete_works=yes +gl_cv_func_truncf_ieee=yes +gl_cv_func_trunc_ieee=yes +gl_cv_func_truncl_ieee=yes +gl_cv_func_tzset_clobber=no +gl_cv_func_ungetc_works=yes +gl_cv_func_unlink_honors_slashes=yes +gl_cv_func_unsetenv_works=yes +gl_cv_func_usleep_works=yes +gl_cv_func_utimensat_works=yes +gl_cv_func_vsnprintf_posix=yes +gl_cv_func_vsnprintf_zerosize_c99=yes +gl_cv_func_vsprintf_posix=yes +gl_cv_func_wcwidth_works=yes +gl_cv_func_working_getdelim=yes +gl_cv_func_working_mkstemp=yes +gl_cv_func_working_mktime=yes +gl_cv_func_working_strerror=yes +gl_cv_struct_dirent_d_ino=yes"}; + +# vim:filetype=sh diff --git a/vars/libX11.vars b/vars/libX11.vars new file mode 100644 index 0000000..a40ab8c --- /dev/null +++ b/vars/libX11.vars @@ -0,0 +1,8 @@ +# +# set -o errexit -o noglob are assumed. +# + +: ${PKG_LIBX11_CONFIG_CACHE_EXTRA:=" +xorg_cv_malloc0_returns_null=yes"}; + +# vim:filetype=sh diff --git a/vars/libevent.vars b/vars/libevent.vars new file mode 100644 index 0000000..6ce2cc6 --- /dev/null +++ b/vars/libevent.vars @@ -0,0 +1,8 @@ +# +# set -o errexit -o noglob are assumed. +# + +: ${PKG_LIBEVENT_CONFIG_CACHE_EXTRA:=" +ac_pe_target=true"}; + +# vim:filetype=sh diff --git a/vars/lighttpd.vars b/vars/lighttpd.vars new file mode 100644 index 0000000..346589c --- /dev/null +++ b/vars/lighttpd.vars @@ -0,0 +1,9 @@ +# +# set -o errexit -o noglob are assumed. +# + +: ${PKG_LIGHTTPD_CONFIG_CACHE_EXTRA:=" +ac_cv_path_PCRECONFIG=%PREFIX%/bin/pcre-config +ac_cv_prog_have_pcre=%PREFIX%/bin/pcre-config"}; + +# vim:filetype=sh diff --git a/vars/mc.vars b/vars/mc.vars new file mode 100644 index 0000000..a4ca624 --- /dev/null +++ b/vars/mc.vars @@ -0,0 +1,8 @@ +# +# set -o errexit -o noglob are assumed. +# + +: ${PKG_MC_CONFIG_CACHE_EXTRA:=" +ac_list_mounted_fs=found"}; + +# vim:filetype=sh diff --git a/vars/procps_ng.vars b/vars/procps_ng.vars new file mode 100644 index 0000000..754461a --- /dev/null +++ b/vars/procps_ng.vars @@ -0,0 +1,8 @@ +# +# set -o errexit -o noglob are assumed. +# + +: ${PKG_PROCPS_NG_CONFIG_CACHE_EXTRA:=" +ac_cv_func_realloc_0_nonnull=yes"}; + +# vim:filetype=sh diff --git a/vars/smallbasic.vars b/vars/smallbasic.vars new file mode 100644 index 0000000..5dc9e4e --- /dev/null +++ b/vars/smallbasic.vars @@ -0,0 +1,9 @@ +# +# set -o errexit -o noglob are assumed. +# + +: ${PKG_SMALLBASIC_CONFIG_CACHE_EXTRA:=" +ac_cv_path_PCRECONFIG=%PREFIX%/bin/pcre-config +ac_cv_prog_have_pcre=%PREFIX%/bin/pcre-config"}; + +# vim:filetype=sh diff --git a/vars/util_linux.vars b/vars/util_linux.vars new file mode 100644 index 0000000..db3e2da --- /dev/null +++ b/vars/util_linux.vars @@ -0,0 +1,8 @@ +# +# set -o errexit -o noglob are assumed. +# + +: ${PKG_UTIL_LINUX_CONFIG_CACHE_EXTRA:=" +ac_cv_prog_NCURSESW6_CONFIG=%PREFIX%/bin/ncursesw6-config"}; + +# vim:filetype=sh diff --git a/vars/vim.vars b/vars/vim.vars index 1507d70..b6d7977 100644 --- a/vars/vim.vars +++ b/vars/vim.vars @@ -2,9 +2,17 @@ # set -o errexit -o noglob are assumed. # -pkg_vim_configure_pre() { - ex_build_fileop cp "${MIDIPIX_BUILD_PWD}/etc/config.cache" \ - "${PKG_BASE_DIR}/${PKG_SUBDIR}/src/auto"; -}; +: ${PKG_VIM_CONFIG_CACHE_EXTRA:=" +ac_cv_small_wchar_t=no +ac_x_header_dirs=%PREFIX%/include +vim_cv_bcopy_handles_overlap=yes +vim_cv_getcwd_broken=no +vim_cv_memcpy_handles_overlap=no +vim_cv_memmove_handles_overlap=yes +vim_cv_stat_ignores_slash=no +vim_cv_terminfo=yes +vim_cv_toupper_broken=no +vim_cv_tty_group=tty +vim_cv_tty_mode=0666"}; # vim:filetype=sh diff --git a/vars/xcb.vars b/vars/xcb.vars new file mode 100644 index 0000000..c734a4d --- /dev/null +++ b/vars/xcb.vars @@ -0,0 +1,8 @@ +# +# set -o errexit -o noglob are assumed. +# + +: ${PKG_XCB_CONFIG_CACHE_EXTRA:=" +ac_cv_search_sendmsg=no"}; + +# vim:filetype=sh