Browse Source

perl-xml-parser: Update to 2.46

Added patch that removes faulty expat check.

Minor cleanups.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
lilik-openwrt-22.03
Rosen Penev 5 years ago
parent
commit
582e1c8eeb
No known key found for this signature in database GPG Key ID: 36D31CFA845F0E3B
2 changed files with 18 additions and 7 deletions
  1. +7
    -7
      lang/perl-xml-parser/Makefile
  2. +11
    -0
      lang/perl-xml-parser/patches/030-expat.patch

+ 7
- 7
lang/perl-xml-parser/Makefile View File

@ -8,15 +8,15 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=perl-xml-parser PKG_NAME:=perl-xml-parser
PKG_VERSION:=2.44
PKG_RELEASE:=2
PKG_VERSION:=2.46
PKG_RELEASE:=1
PKG_SOURCE_URL:=http://www.cpan.org/authors/id/T/TO/TODDR/ PKG_SOURCE_URL:=http://www.cpan.org/authors/id/T/TO/TODDR/
PKG_SOURCE:=XML-Parser-$(PKG_VERSION).tar.gz PKG_SOURCE:=XML-Parser-$(PKG_VERSION).tar.gz
PKG_HASH:=1ae9d07ee9c35326b3d9aad56eae71a6730a73a116b9fe9e8a4758b7cc033216
PKG_HASH:=d331332491c51cccfb4cb94ffc44f9cd73378e618498d4a37df9e043661c515d
PKG_LICENSE:=GPL-1.0-or-later Artistic-1.0-Perl
PKG_MAINTAINER:=Marcel Denia <naoir@gmx.net> PKG_MAINTAINER:=Marcel Denia <naoir@gmx.net>
PKG_LICENSE:=GPL-1.0-or-later Artistic-1.0-Perl
PKG_BUILD_DIR:=$(BUILD_DIR)/perl/XML-Parser-$(PKG_VERSION) PKG_BUILD_DIR:=$(BUILD_DIR)/perl/XML-Parser-$(PKG_VERSION)
HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/perl/XML-Parser-$(PKG_VERSION) HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/perl/XML-Parser-$(PKG_VERSION)
@ -24,9 +24,9 @@ HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/perl/XML-Parser-$(PKG_VERSION)
HOST_BUILD_DEPENDS:=perl/host expat/host HOST_BUILD_DEPENDS:=perl/host expat/host
EXPAT_LIBPATH:=$(STAGING_DIR)/usr/lib EXPAT_LIBPATH:=$(STAGING_DIR)/usr/lib
EXPAT_INCPATH=$(STAGING_DIR)/usr/include
EXPAT_INCPATH:=$(STAGING_DIR)/usr/include
HOST_EXPAT_LIBPATH:=$(STAGING_DIR_HOSTPKG)/lib HOST_EXPAT_LIBPATH:=$(STAGING_DIR_HOSTPKG)/lib
HOST_EXPAT_INCPATH=$(STAGING_DIR_HOSTPKG)/include
HOST_EXPAT_INCPATH:=$(STAGING_DIR_HOSTPKG)/include
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/host-build.mk include $(INCLUDE_DIR)/host-build.mk
@ -52,7 +52,7 @@ endef
define Build/Configure define Build/Configure
$(call perlmod/Configure,EXPATLIBPATH=$(EXPAT_LIBPATH) EXPATINCPATH=$(EXPAT_INCPATH),,) $(call perlmod/Configure,EXPATLIBPATH=$(EXPAT_LIBPATH) EXPATINCPATH=$(EXPAT_INCPATH),,)
$(call FixupExpat,$(PKG_BUILD_DIR),$(EXPAT_LIBPATH),$(EXPAT_INCPATH)) $(call FixupExpat,$(PKG_BUILD_DIR),$(EXPAT_LIBPATH),$(EXPAT_INCPATH))
$(call perlmod/Configure,,,$(PKG_BUILD_DIR)/Expat) $(call perlmod/Configure,,,$(PKG_BUILD_DIR)/Expat)
endef endef


+ 11
- 0
lang/perl-xml-parser/patches/030-expat.patch View File

@ -0,0 +1,11 @@
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -65,7 +65,7 @@ Expat_Not_Installed;
# exiting before Makefile generation silences CPANTesters reports
# when expat is not available.
- exit 0;
+# exit 0;
}
if ( not $expat_libpath and $] >= 5.006001 and $^O ne 'MSWin32' ) {

Loading…
Cancel
Save