# libxml2
#
#############################################################
-LIBXML2_VERSION = 2.6.31
+LIBXML2_VERSION = 2.6.32
LIBXML2_SOURCE = libxml2-sources-$(LIBXML2_VERSION).tar.gz
LIBXML2_SITE = ftp://xmlsoft.org/libxml2
LIBXML2_INSTALL_STAGING = YES
$(eval $(call AUTOTARGETS,package,libxml2))
+$(LIBXML2_HOOK_POST_EXTRACT):
+ rm -f $(LIBXML2_DIR)/win32/Makefile.msvc.rej
+ rm -f $(LIBXML2_DIR)/macos/src/XMLTestPrefix.h.rej
+
$(LIBXML2_HOOK_POST_INSTALL):
$(SED) "s,^prefix=.*,prefix=\'$(STAGING_DIR)/usr\',g" $(STAGING_DIR)/usr/bin/xml2-config
$(SED) "s,^exec_prefix=.*,exec_prefix=\'$(STAGING_DIR)/usr\',g" $(STAGING_DIR)/usr/bin/xml2-config