PKG_NAME:=intltool
PKG_LIBVER:=0.40
PKG_VERSION:=$(PKG_LIBVER).6
-PKG_RELEASE:=2
+PKG_RELEASE:=3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=@GNOME/intltool/$(PKG_LIBVER)
PKG_MAINTAINER:=Ted Hess <thess@kitschensync.net>
PKG_HOST_ONLY:=1
+HOST_FIXUP:=autoreconf
include $(INCLUDE_DIR)/host-build.mk
include $(INCLUDE_DIR)/package.mk
file formats using GNU gettext-compatible PO files.
endef
-define Require/perl-xml-parser
- perl -e 'use XML::Parser;'
-endef
-
-$(eval $(call Require,perl-xml-parser, \
- Please install Perl XML::Parser \
-))
-
$(eval $(call BuildPackage,intltool))
$(eval $(call HostBuild))
--- /dev/null
+--- a/configure.in
++++ b/configure.in
+@@ -25,7 +25,7 @@ AC_MSG_CHECKING([for XML::Parser])
+ if `$PERL -e "require XML::Parser" 2>/dev/null`; then
+ AC_MSG_RESULT([ok])
+ else
+- AC_MSG_ERROR([XML::Parser perl module is required for intltool])
++ AC_MSG_RESULT([XML::Parser perl module is required for some intltool utilitities])
+ fi
+
+ AC_OUTPUT([
+--- a/intltool.m4
++++ b/intltool.m4
+@@ -127,7 +127,7 @@ if test "x$2" != "xno-xml"; then
+ if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
+ AC_MSG_RESULT([ok])
+ else
+- AC_MSG_ERROR([XML::Parser perl module is required for intltool])
++ AC_MSG_RESULT([XML::Parser perl module is required for some intltool utilitities])
+ fi
+ fi
+