git: eff20706e4f0 - main - textproc/p5-XML-LibXML: Update to 2.0208
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 09 Oct 2022 15:40:55 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=eff20706e4f06c658470135f5b97d8918ddf2aa9
commit eff20706e4f06c658470135f5b97d8918ddf2aa9
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-10-09 15:33:25 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-10-09 15:38:07 +0000
textproc/p5-XML-LibXML: Update to 2.0208
Changes: https://metacpan.org/dist/XML-LibXML/changes
---
textproc/p5-XML-LibXML/Makefile | 3 +--
textproc/p5-XML-LibXML/distinfo | 6 +++---
textproc/p5-XML-LibXML/files/patch-Makefile.PL | 19 +++++++++++++++----
3 files changed, 19 insertions(+), 9 deletions(-)
diff --git a/textproc/p5-XML-LibXML/Makefile b/textproc/p5-XML-LibXML/Makefile
index cfe97a70abd0..6fac2543f6b2 100644
--- a/textproc/p5-XML-LibXML/Makefile
+++ b/textproc/p5-XML-LibXML/Makefile
@@ -1,6 +1,5 @@
PORTNAME= XML-LibXML
-PORTVERSION= 2.0207
-PORTREVISION= 2
+PORTVERSION= 2.0208
PORTEPOCH= 1
CATEGORIES= textproc perl5
MASTER_SITES= CPAN
diff --git a/textproc/p5-XML-LibXML/distinfo b/textproc/p5-XML-LibXML/distinfo
index 64d11a79a3b5..2078716c2305 100644
--- a/textproc/p5-XML-LibXML/distinfo
+++ b/textproc/p5-XML-LibXML/distinfo
@@ -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
diff --git a/textproc/p5-XML-LibXML/files/patch-Makefile.PL b/textproc/p5-XML-LibXML/files/patch-Makefile.PL
index 0118bbd386aa..1bf85a0c5084 100644
--- a/textproc/p5-XML-LibXML/files/patch-Makefile.PL
+++ b/textproc/p5-XML-LibXML/files/patch-Makefile.PL
@@ -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",