8a4338
subr/pkg_configure_autotools.subr: create ${PKG_BUILD_DIR}/config.cache from ${PKG_CONFIG_CACHE{,_EXTRA}}.
@@ -37,7 +37,12 @@ pkg_configure_autotools() {
|
|
37
37
|
-exec echo install -m 0700 "${MIDIPIX_BUILD_PWD}/etc/config.sub" {} \; \
|
38
38
|
-exec install -m 0700 "${MIDIPIX_BUILD_PWD}/etc/config.sub" {} \;;
|
39
39
|
if [ "${PKG_BUILD_TYPE}" != host ]; then
|
40
|
-
|
40
|
+
if [ -n "${PKG_CONFIG_CACHE}" ]; then
|
41
|
+
echo "${PKG_CONFIG_CACHE}" > "${PKG_BUILD_DIR}/config.cache";
|
42
|
+
if [ -n "${PKG_CONFIG_CACHE_EXTRA}" ]; then
|
43
|
+
echo "${PKG_CONFIG_CACHE_EXTRA}" >> "${PKG_BUILD_DIR}/config.cache";
|
44
|
+
fi;
|
45
|
+
fi;
|
41
46
|
sed -i"" "s,%PREFIX%,${PKG_PREFIX},g" "${PKG_BUILD_DIR}/config.cache";
|
42
47
|
fi;
|
43
48
|
fi;
|
@@ -2,6 +2,14 @@
|
|
2
2
|
set -o errexit -o noglob are assumed.
|
3
3
|
|
4
4
|
|
5
|
+
: ${PKG_APR_CONFIG_CACHE_EXTRA:="
|
6
|
+
ac_cv_file__dev_zero=yes
|
7
|
+
ac_cv_func_setpgrp_void=yes
|
8
|
+
ac_cv_sizeof_struct_iovec=16
|
9
|
+
ap_cv_void_ptr_lt_long=no
|
10
|
+
apr_cv_process_shared_works=no
|
11
|
+
apr_cv_tcp_nodelay_with_cork=no"};
|
12
|
+
|
5
13
|
pkg_apr_install_make_post() {
|
6
14
|
sed -e 's,echo "\$APR_BUILD_DIR/libtool",echo '"${PREFIX}"'/bin/slibtool,' \
|
7
15
|
-e 's,echo "\${installbuilddir}/libtool",echo '"${PREFIX}"'/bin/slibtool,' \
|
@@ -0,0 +1,15 @@
|
|
1
|
+
|
2
|
+
set -o errexit -o noglob are assumed.
|
3
|
+
|
4
|
+
|
5
|
+
: ${PKG_BASH_CONFIG_CACHE_EXTRA:="
|
6
|
+
bash_cv_func_sigsetjmp=present
|
7
|
+
bash_cv_getcwd_malloc=yes
|
8
|
+
bash_cv_job_control_missing=present
|
9
|
+
bash_cv_printf_a_format=yes
|
10
|
+
bash_cv_sys_named_pipes=present
|
11
|
+
bash_cv_ulimit_maxfds=yes
|
12
|
+
bash_cv_under_sys_siglist=yes
|
13
|
+
bash_cv_unusable_rtsigs=no"};
|
14
|
+
|
15
|
+
vim:filetype=sh
|
@@ -0,0 +1,9 @@
|
|
1
|
+
|
2
|
+
set -o errexit -o noglob are assumed.
|
3
|
+
|
4
|
+
|
5
|
+
: ${PKG_BISON_CONFIG_CACHE_EXTRA:="
|
6
|
+
ac_cv_path_M4=/bin/m4
|
7
|
+
ac_cv_prog_gnu_m4_gnu=yes"};
|
8
|
+
|
9
|
+
vim:filetype=sh
|
@@ -1,3 +1,17 @@
|
|
1
|
+
: ${DEFAULT_CONFIG_CACHE:="
|
2
|
+
ac_cv_buggy_getaddrinfo=no
|
3
|
+
ac_cv_file__dev_ptc=no
|
4
|
+
ac_cv_file__dev_ptmx=yes
|
5
|
+
ac_cv_func_calloc_0_nonnull=yes
|
6
|
+
ac_cv_func_chown_works=yes
|
7
|
+
ac_cv_func_getgroups_works=yes
|
8
|
+
ac_cv_func_malloc_0_nonnull=yes
|
9
|
+
ac_cv_func_mmap_fixed_mapped=yes
|
10
|
+
ac_cv_func_strcoll_works=yes
|
11
|
+
ac_cv_func_strnlen_working=yes
|
12
|
+
ac_cv_func_working_mktime=yes
|
13
|
+
gt_cv_int_divbyzero_sigfpe=yes"};
|
14
|
+
|
1
15
|
|
2
16
|
Build target invariants
|
3
17
|
|
@@ -27,7 +41,7 @@ HOST_TOOLCHAIN_DEPS_PREFIX="${PREFIX}";
|
|
27
41
|
: ${PKG_PKGCONF_HOST_SHA256SUM:=7ec8b516e655e247f4ba976837cee808134785819ab8f538f652fe919cc6c09f};
|
28
42
|
: ${PKG_PKGCONF_HOST_VERSION:=0.9.12};
|
29
43
|
: ${PKG_PKGCONF_HOST_URL:=https://github.com/pkgconf/pkgconf/releases/download/pkgconf-${PKG_PKGCONF_HOST_VERSION}/pkgconf-${PKG_PKGCONF_HOST_VERSION}.tar.bz2};
|
30
|
-
|
44
|
+
: ${PKG_PKGCONF_HOST_CONFIGURE_ARGS:="--prefix=${PREFIX_NATIVE}"};
|
31
45
|
: ${PKG_PKGCONF_HOST_MAKEFLAGS_INSTALL_EXTRA:=prefix=};
|
32
46
|
: ${PKG_BINUTILS_HOST_SHA256SUM:=250d3b2925c6b211fb16173b0b25bc091c58829fbcad3eb849645e0af52cf7fa};
|
33
47
|
: ${PKG_BINUTILS_HOST_VERSION:=2.24.51};
|
@@ -194,7 +208,7 @@ NATIVE_RUNTIME_PREFIX="${PREFIX_NATIVE}";
|
|
194
208
|
|
195
209
|
HOST_PACKAGES_DEPS_BUILD_TYPE="host";
|
196
210
|
HOST_PACKAGES_DEPS_CFLAGS_CONFIGURE="${DEFAULT_CFLAGS_HOST}";
|
197
|
-
HOST_PACKAGES_DEPS_CONFIGURE_ARGS
|
211
|
+
HOST_PACKAGES_DEPS_CONFIGURE_ARGS="--disable-nls --prefix=${PREFIX} --program-prefix=";
|
198
212
|
HOST_PACKAGES_DEPS_LDFLAGS_CONFIGURE="";
|
199
213
|
HOST_PACKAGES_DEPS_MAKEFLAGS_INSTALL="PREFIX= prefix=";
|
200
214
|
HOST_PACKAGES_DEPS_PACKAGES="
|
@@ -25,7 +25,7 @@
|
|
25
25
|
finish:finish"};
|
26
26
|
_DIR BUILD_STEPS_DISABLE BUILD_TYPE
BUILD
|
27
27
|
CFLAGS_BUILD_EXTRA CFLAGS_CONFIGURE CFLAGS_CONFIGURE_EXTRA
|
28
|
-
CFLAGS_INSTALL_EXTRA CONFIGURE CONFIGURE_ARGS
|
28
|
+
CFLAGS_INSTALL_EXTRA CONFIG_CACHE CONFIG_CACHE_EXTRA CONFIGURE CONFIGURE_ARGS
|
29
29
|
CONFIGURE_ARGS_EXTRA CXXFLAGS_CONFIGURE_EXTRA DISABLED
|
30
30
|
ENV_VARS_EXTRA INSTALL_FILES INSTALL_TARGET INSTALL_TARGET_EXTRA
|
31
31
|
LDFLAGS_BUILD_EXTRA LDFLAGS_CONFIGURE LDFLAGS_CONFIGURE_EXTRA
|
@@ -2,6 +2,9 @@
|
|
2
2
|
set -o errexit -o noglob are assumed.
|
3
3
|
|
4
4
|
|
5
|
+
: ${PKG_GDB_CONFIG_CACHE_EXTRA:="
|
6
|
+
enable_gio_sniffing=yes"};
|
7
|
+
|
5
8
|
pkg_gdk_install_pkgconfig_post() {
|
6
9
|
local _pc_path;
|
7
10
|
for _pc_path in $(find "${PKG_DESTDIR}"/lib/pkgconfig -name \*.pc); do
|
@@ -2,6 +2,10 @@
|
|
2
2
|
set -o errexit -o noglob are assumed.
|
3
3
|
|
4
4
|
|
5
|
+
: ${PKG_GIT_CONFIG_CACHE_EXTRA:="
|
6
|
+
ac_cv_fread_reads_directories=1
|
7
|
+
ac_cv_snprintf_returns_bogus=0"};
|
8
|
+
|
5
9
|
pkg_git_install_post() {
|
6
10
|
local __ _new;
|
7
11
|
for __ in $(find "${PKG_DESTDIR}" -name "Git*::*" -type f); do
|
@@ -2,6 +2,14 @@
|
|
2
2
|
set -o errexit -o noglob are assumed.
|
3
3
|
|
4
4
|
|
5
|
+
: ${PKG_GLIB_CONFIG_CACHE_EXTRA:="
|
6
|
+
glib_cv_stack_grows=yes
|
7
|
+
glib_cv_uscore=yes
|
8
|
+
ac_cv_func_posix_getpwuid_r=yes
|
9
|
+
ac_cv_func_posix_getgrgid_r=yes
|
10
|
+
glib_cv_eventfd=no"};
|
11
|
+
: ${PKG_GLIB_HOST_CONFIG_CACHE_EXTRA:=${PKG_GLIB_CONFIG_CACHE_EXTRA}};
|
12
|
+
|
5
13
|
pkg_glib_install_pkgconfig_post() {
|
6
14
|
local _pc_path;
|
7
15
|
for _pc_path in $(find "${PKG_DESTDIR}"/lib/pkgconfig -name \*.pc); do
|
@@ -1,54 +1,8 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
1
|
+
|
2
|
+
set -o errexit -o noglob are assumed.
|
3
|
+
|
4
|
-
ac_cv_sizeof_struct_iovec=16
|
5
|
-
ap_cv_void_ptr_lt_long=no
|
6
|
-
apr_cv_process_shared_works=no
|
7
|
-
apr_cv_tcp_nodelay_with_cork=no
|
8
4
|
|
9
|
-
|
5
|
+
: ${PKG_GNULIB_CONFIG_CACHE_EXTRA:="
|
10
|
-
ac_cv_buggy_getaddrinfo=no
|
11
|
-
ac_cv_file__dev_ptc=no
|
12
|
-
ac_cv_file__dev_ptmx=yes
|
13
|
-
ac_cv_func_calloc_0_nonnull=yes
|
14
|
-
ac_cv_func_chown_works=yes
|
15
|
-
ac_cv_func_getgroups_works=yes
|
16
|
-
ac_cv_func_malloc_0_nonnull=yes
|
17
|
-
ac_cv_func_mmap_fixed_mapped=yes
|
18
|
-
ac_cv_func_strcoll_works=yes
|
19
|
-
ac_cv_func_strnlen_working=yes
|
20
|
-
ac_cv_func_working_mktime=yes
|
21
|
-
gt_cv_int_divbyzero_sigfpe=yes
|
22
|
-
|
23
|
-
bash
|
24
|
-
bash_cv_func_sigsetjmp=present
|
25
|
-
bash_cv_getcwd_malloc=yes
|
26
|
-
bash_cv_job_control_missing=present
|
27
|
-
bash_cv_printf_a_format=yes
|
28
|
-
bash_cv_sys_named_pipes=present
|
29
|
-
bash_cv_ulimit_maxfds=yes
|
30
|
-
bash_cv_under_sys_siglist=yes
|
31
|
-
bash_cv_unusable_rtsigs=no
|
32
|
-
|
33
|
-
bison
|
34
|
-
ac_cv_path_M4=/bin/m4
|
35
|
-
ac_cv_prog_gnu_m4_gnu=yes
|
36
|
-
|
37
|
-
git
|
38
|
-
ac_cv_fread_reads_directories=1
|
39
|
-
ac_cv_snprintf_returns_bogus=0
|
40
|
-
|
41
|
-
glib
|
42
|
-
glib_cv_stack_grows=yes
|
43
|
-
glib_cv_uscore=yes
|
44
|
-
ac_cv_func_posix_getpwuid_r=yes
|
45
|
-
ac_cv_func_posix_getgrgid_r=yes
|
46
|
-
glib_cv_eventfd=no
|
47
|
-
|
48
|
-
glib/gdk
|
49
|
-
enable_gio_sniffing=yes
|
50
|
-
|
51
|
-
gnulib
|
52
6
|
ac_cv_func___fseterr=yes
|
53
7
|
gl_cv_func_cbrtl_ieee=yes
|
54
8
|
gl_cv_func_ceilf_ieee=yes
|
@@ -164,41 +118,6 @@ gl_cv_func_working_getdelim=yes
|
|
164
118
|
gl_cv_func_working_mkstemp=yes
|
165
119
|
gl_cv_func_working_mktime=yes
|
166
120
|
gl_cv_func_working_strerror=yes
|
167
|
-
gl_cv_struct_dirent_d_ino=yes
|
121
|
+
gl_cv_struct_dirent_d_ino=yes"};
|
168
|
-
|
169
|
-
libevent
|
170
|
-
ac_pe_target=true
|
171
|
-
|
172
|
-
libX11
|
173
|
-
xorg_cv_malloc0_returns_null=yes
|
174
|
-
|
175
|
-
mc
|
176
|
-
ac_list_mounted_fs=found
|
177
|
-
|
178
|
-
pcre <- {lighttpd,smallbasic}
|
179
|
-
ac_cv_path_PCRECONFIG=%PREFIX%/bin/pcre-config
|
180
|
-
ac_cv_prog_have_pcre=%PREFIX%/bin/pcre-config
|
181
|
-
|
182
|
-
procps_ng
|
183
|
-
ac_cv_func_realloc_0_nonnull=yes
|
184
|
-
|
185
|
-
util_linux
|
186
|
-
ac_cv_prog_NCURSESW6_CONFIG=%PREFIX%/bin/ncursesw6-config
|
187
|
-
|
188
|
-
vim
|
189
|
-
ac_cv_small_wchar_t=no
|
190
|
-
ac_x_header_dirs=%PREFIX%/include
|
191
|
-
vim_cv_bcopy_handles_overlap=yes
|
192
|
-
vim_cv_getcwd_broken=no
|
193
|
-
vim_cv_memcpy_handles_overlap=no
|
194
|
-
vim_cv_memmove_handles_overlap=yes
|
195
|
-
vim_cv_stat_ignores_slash=no
|
196
|
-
vim_cv_terminfo=yes
|
197
|
-
vim_cv_toupper_broken=no
|
198
|
-
vim_cv_tty_group=tty
|
199
|
-
vim_cv_tty_mode=0666
|
200
|
-
|
201
|
-
xcb
|
202
|
-
ac_cv_search_sendmsg=no
|
203
122
|
|
204
123
|
vim:filetype=sh
|
@@ -0,0 +1,8 @@
|
|
1
|
+
|
2
|
+
set -o errexit -o noglob are assumed.
|
3
|
+
|
4
|
+
|
5
|
+
: ${PKG_LIBX11_CONFIG_CACHE_EXTRA:="
|
6
|
+
xorg_cv_malloc0_returns_null=yes"};
|
7
|
+
|
8
|
+
vim:filetype=sh
|
@@ -0,0 +1,8 @@
|
|
1
|
+
|
2
|
+
set -o errexit -o noglob are assumed.
|
3
|
+
|
4
|
+
|
5
|
+
: ${PKG_LIBEVENT_CONFIG_CACHE_EXTRA:="
|
6
|
+
ac_pe_target=true"};
|
7
|
+
|
8
|
+
vim:filetype=sh
|
@@ -0,0 +1,9 @@
|
|
1
|
+
|
2
|
+
set -o errexit -o noglob are assumed.
|
3
|
+
|
4
|
+
|
5
|
+
: ${PKG_LIGHTTPD_CONFIG_CACHE_EXTRA:="
|
6
|
+
ac_cv_path_PCRECONFIG=%PREFIX%/bin/pcre-config
|
7
|
+
ac_cv_prog_have_pcre=%PREFIX%/bin/pcre-config"};
|
8
|
+
|
9
|
+
vim:filetype=sh
|
@@ -0,0 +1,8 @@
|
|
1
|
+
|
2
|
+
set -o errexit -o noglob are assumed.
|
3
|
+
|
4
|
+
|
5
|
+
: ${PKG_MC_CONFIG_CACHE_EXTRA:="
|
6
|
+
ac_list_mounted_fs=found"};
|
7
|
+
|
8
|
+
vim:filetype=sh
|
@@ -0,0 +1,8 @@
|
|
1
|
+
|
2
|
+
set -o errexit -o noglob are assumed.
|
3
|
+
|
4
|
+
|
5
|
+
: ${PKG_PROCPS_NG_CONFIG_CACHE_EXTRA:="
|
6
|
+
ac_cv_func_realloc_0_nonnull=yes"};
|
7
|
+
|
8
|
+
vim:filetype=sh
|
@@ -0,0 +1,9 @@
|
|
1
|
+
|
2
|
+
set -o errexit -o noglob are assumed.
|
3
|
+
|
4
|
+
|
5
|
+
: ${PKG_SMALLBASIC_CONFIG_CACHE_EXTRA:="
|
6
|
+
ac_cv_path_PCRECONFIG=%PREFIX%/bin/pcre-config
|
7
|
+
ac_cv_prog_have_pcre=%PREFIX%/bin/pcre-config"};
|
8
|
+
|
9
|
+
vim:filetype=sh
|
@@ -0,0 +1,8 @@
|
|
1
|
+
|
2
|
+
set -o errexit -o noglob are assumed.
|
3
|
+
|
4
|
+
|
5
|
+
: ${PKG_UTIL_LINUX_CONFIG_CACHE_EXTRA:="
|
6
|
+
ac_cv_prog_NCURSESW6_CONFIG=%PREFIX%/bin/ncursesw6-config"};
|
7
|
+
|
8
|
+
vim:filetype=sh
|
@@ -2,9 +2,17 @@
|
|
2
2
|
set -o errexit -o noglob are assumed.
|
3
3
|
|
4
4
|
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
5
|
+
: ${PKG_VIM_CONFIG_CACHE_EXTRA:="
|
6
|
+
ac_cv_small_wchar_t=no
|
7
|
+
ac_x_header_dirs=%PREFIX%/include
|
8
|
+
vim_cv_bcopy_handles_overlap=yes
|
9
|
+
vim_cv_getcwd_broken=no
|
10
|
+
vim_cv_memcpy_handles_overlap=no
|
11
|
+
vim_cv_memmove_handles_overlap=yes
|
12
|
+
vim_cv_stat_ignores_slash=no
|
13
|
+
vim_cv_terminfo=yes
|
14
|
+
vim_cv_toupper_broken=no
|
15
|
+
vim_cv_tty_group=tty
|
16
|
+
vim_cv_tty_mode=0666"};
|
9
17
|
|
10
18
|
vim:filetype=sh
|
@@ -0,0 +1,8 @@
|
|
1
|
+
|
2
|
+
set -o errexit -o noglob are assumed.
|
3
|
+
|
4
|
+
|
5
|
+
: ${PKG_XCB_CONFIG_CACHE_EXTRA:="
|
6
|
+
ac_cv_search_sendmsg=no"};
|
7
|
+
|
8
|
+
vim:filetype=sh
|