Update to 2.0202

Changes:	https://metacpan.org/changes/distribution/XML-LibXML
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2020-01-20 20:12:14 +00:00
parent 60b33878d1
commit 8c84246955
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=523680
3 changed files with 32 additions and 5 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= XML-LibXML
PORTVERSION= 2.0134
PORTVERSION= 2.0202
PORTEPOCH= 1
CATEGORIES= textproc perl5
MASTER_SITES= CPAN
@ -24,7 +24,7 @@ USES= gnome perl5
USE_GNOME= libxml2
USE_PERL5= configure
CONFIGURE_ENV= XMLPREFIX=${LOCALBASE}
CONFIGURE_ENV= LOCALBASE=${LOCALBASE}
PKGDEINSTALL= ${PKGINSTALL}
CONFLICTS_INSTALL= p5-XML-LibXML-XPathContext p5-XML-LibXML-Common

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1549892543
SHA256 (XML-LibXML-2.0134.tar.gz) = f0bca4d0c2da35d879fee4cd13f352014186cedab27ab5e191f39b5d7d4f46cf
SIZE (XML-LibXML-2.0134.tar.gz) = 470593
TIMESTAMP = 1579531378
SHA256 (XML-LibXML-2.0202.tar.gz) = cc2b02c5e9829c363173bfcfaf9321f8d72c30301df3f8842be356776569e2ae
SIZE (XML-LibXML-2.0202.tar.gz) = 463882

View File

@ -0,0 +1,27 @@
--- Makefile.PL.orig 2020-01-13 09:13:13 UTC
+++ Makefile.PL
@@ -17,12 +17,10 @@ use warnings;
require 5.008001;
-use Alien::Libxml2;
use ExtUtils::MakeMaker;
use Config;
my %ConfigReqs = (
- "Alien::Libxml2" => 0,
"Config" => 0,
"ExtUtils::MakeMaker" => 0,
);
@@ -68,8 +66,9 @@ my %prereqs = (
my %xsbuild = (
DEFINE => '-DHAVE_UTF8',
OBJECT => '$(O_FILES)',
- CCFLAGS => Alien::Libxml2->cflags . " $Config{ccflags}",
- LIBS => [ Alien::Libxml2->libs ],
+ CCFLAGS => " $Config{ccflags}",
+ INC => "-I$ENV{LOCALBASE}/include/libxml2 -I/usr/include",
+ LIBS => "-L$ENV{LOCALBASE}/lib -lxml2 -L/usr/lib -llzma -lm -lz",
);
my %WriteMakefileArgs = (