midipix / build / midipix_build

Forked from build/midipix_build 4 years ago
Clone

Blame vars/glib.vars

Lucio Andrés Illanes Albornoz (arab, vxp) e8b3b5
#
Lucio Andrés Illanes Albornoz 2b85d0
# set +o errexit -o noglob is assumed.
Lucio Andrés Illanes Albornoz (arab, vxp) e8b3b5
#
Lucio Andrés Illanes Albornoz (arab, vxp) e8b3b5
Lucio Andrés Illanes Albornoz (arab, vxp) 8a4338
: ${PKG_GLIB_CONFIG_CACHE_EXTRA:="
Lucio Andrés Illanes Albornoz (arab, vxp) 8a4338
glib_cv_stack_grows=yes
Lucio Andrés Illanes Albornoz (arab, vxp) 8a4338
glib_cv_uscore=yes
Lucio Andrés Illanes Albornoz (arab, vxp) 8a4338
ac_cv_func_posix_getpwuid_r=yes
Lucio Andrés Illanes Albornoz (arab, vxp) 8a4338
ac_cv_func_posix_getgrgid_r=yes
Lucio Andrés Illanes Albornoz (arab, vxp) 8a4338
glib_cv_eventfd=no"};
Lucio Andrés Illanes Albornoz (arab, vxp) 8a4338
: ${PKG_GLIB_HOST_CONFIG_CACHE_EXTRA:=${PKG_GLIB_CONFIG_CACHE_EXTRA}};
Lucio Andrés Illanes Albornoz (arab, vxp) 8a4338
Lucio Andrés Illanes Albornoz 77addc
pkg_glib_install_files_post() {
Lucio Andrés Illanes Albornoz 907bd3
	local _pc_path="";
Lucio Andrés Illanes Albornoz (arab, vxp) e8b3b5
	for _pc_path in $(find "${PKG_DESTDIR}"/lib/pkgconfig -name \*.pc); do
Lucio Andrés Illanes Albornoz (arab, vxp) caed76
		sed -i"" -e '/^Libs:/s/^\(Libs:\s\+-L\${libdir}\)\s\+\(.\+\)$/\1 \2 -lffi -lpcre -lz/'	\
Lucio Andrés Illanes Albornoz (arab, vxp) e8b3b5
			"${_pc_path}";
Lucio Andrés Illanes Albornoz (arab, vxp) e8b3b5
	done;
Lucio Andrés Illanes Albornoz (arab, vxp) e8b3b5
};
Lucio Andrés Illanes Albornoz (arab, vxp) e8b3b5
Lucio Andrés Illanes Albornoz 77addc
pkg_glib_host_install_files_post() {
Lucio Andrés Illanes Albornoz 77addc
	pkg_glib_install_files_post;
Lucio Andrés Illanes Albornoz (arab, vxp) e8b3b5
};
Lucio Andrés Illanes Albornoz (arab, vxp) e8b3b5
Lucio Andrés Illanes Albornoz (arab, vxp) e8b3b5
# vim:filetype=sh