textproc/p5-XML-LibXML: Update to 2.0208

Changes:	https://metacpan.org/dist/XML-LibXML/changes
This commit is contained in:
Po-Chuan Hsieh 2022-10-09 23:33:25 +08:00
parent df5cd0a16d
commit eff20706e4
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
3 changed files with 19 additions and 9 deletions

View File

@ -1,6 +1,5 @@
PORTNAME= XML-LibXML
PORTVERSION= 2.0207
PORTREVISION= 2
PORTVERSION= 2.0208
PORTEPOCH= 1
CATEGORIES= textproc perl5
MASTER_SITES= CPAN

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1622214148
SHA256 (XML-LibXML-2.0207.tar.gz) = 903436c9859875bef5593243aae85ced329ad0fb4b57bbf45975e32547c50c15
SIZE (XML-LibXML-2.0207.tar.gz) = 462595
TIMESTAMP = 1665073222
SHA256 (XML-LibXML-2.0208.tar.gz) = 0c006b03bf8d0eb531fb56bda3ae15754ca56d888dd7b9e805ab9eb19d5fd653
SIZE (XML-LibXML-2.0208.tar.gz) = 465763

View File

@ -1,4 +1,6 @@
--- Makefile.PL.orig 2020-05-08 11:33:39 UTC
Avoid using more Alien::* in ports tree.
--- Makefile.PL.orig 2022-09-30 03:26:14 UTC
+++ Makefile.PL
@@ -17,15 +17,12 @@ use warnings;
@ -16,14 +18,23 @@
"Config" => 0,
"ExtUtils::MakeMaker" => 0,
);
@@ -71,7 +68,9 @@ my %prereqs = (
my %xsbuild = (
@@ -68,15 +65,13 @@ my %prereqs = (
"warnings" => 0,
);
-my %xsbuild_concat = (
+my %xsbuild = (
DEFINE => '-DHAVE_UTF8',
OBJECT => '$(O_FILES)',
- Alien::Base::Wrapper->mm_args,
+ 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 %xsbuild = Alien::Base::Wrapper->mm_args; # Might contain a definition of DEFINE, must thus concatenate.
-while (my ($k, $v) = each %xsbuild_concat) {
- my $base_val = $xsbuild{$k};
- $xsbuild{$k} = (defined($base_val) ? ($base_val . ' ' . $v) : $v);
-}
my %WriteMakefileArgs = (
"NAME" => "XML::LibXML",