Lucio Andrés Illanes Albornoz dd9b89
#
Lucio Andrés Illanes Albornoz dd9b89
# set +o errexit -o noglob -o nounset is assumed.
Lucio Andrés Illanes Albornoz dd9b89
#
Lucio Andrés Illanes Albornoz dd9b89
3cd0cb
: ${PKG_LIBXSLT_CONFIG_CACHE_EXTRA:="
3cd0cb
ac_cv_path_ac_pt_XML_CONFIG=no
3cd0cb
ac_cv_path_XML_CONFIG=no"};
3cd0cb
Lucio Andrés Illanes Albornoz dd9b89
pkg_libxslt_install_make_post() {
Lucio Andrés Illanes Albornoz 8a4e16
	if ! rtl_fileop mkdir "${PKG_DESTDIR_HOST}/bin"; then
Lucio Andrés Illanes Albornoz dd9b89
		return 1;
Lucio Andrés Illanes Albornoz 2a66c9
	elif ! sed '/^prefix=$/s,^prefix=$,prefix='"${PREFIX_NATIVE}"',' "${PKG_DESTDIR}/bin/xslt-config" > "${PKG_DESTDIR_HOST}/bin/xslt-config"; then
Lucio Andrés Illanes Albornoz dd9b89
		return 1;
Lucio Andrés Illanes Albornoz dd9b89
	else
Lucio Andrés Illanes Albornoz 8a4e16
		rtl_fileop chmod +x "${PKG_DESTDIR_HOST}/bin/xslt-config";
Lucio Andrés Illanes Albornoz dd9b89
	fi;
Lucio Andrés Illanes Albornoz dd9b89
};
Lucio Andrés Illanes Albornoz dd9b89
Lucio Andrés Illanes Albornoz dd9b89
# vim:filetype=sh textwidth=0