summaryrefslogtreecommitdiffhomepage
path: root/vars/apr.vars
blob: 4ed7cbbdd869124e25a518694a294a0248485c75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#
# set +o errexit -o noglob is 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() {
	if ! sed													\
		-e 's,echo "\$APR_BUILD_DIR/libtool",echo '"${PKG_DESTDIR}"'/bin/slibtool,'				\
		-e 's,echo "\${installbuilddir}/libtool",echo '"${PKG_DESTDIR}"'/bin/slibtool,'				\
		-e 's,flags="\$flags -I\$includedir \$EXTRA_INCLUDES",flags="-I'"${PKG_PREFIX}"'/include/apr-1",'	\
			"${PKG_DESTDIR}/bin/apr-1-config" > "${PKG_DESTDIR}/bin/${PKG_TARGET}-apr-1-config"		\
	|| ! rtl_fileop chmod +x "${PKG_DESTDIR}/bin/${PKG_TARGET}-apr-1-config"; then
		return 1;
	fi;
};

# vim:filetype=sh textwidth=0