aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-XML-LibXML
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-10-09 15:33:25 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-10-09 15:38:07 +0000
commiteff20706e4f06c658470135f5b97d8918ddf2aa9 (patch)
treef2fb61e18e2083047f77a938ecc2ef26eba24fa7 /textproc/p5-XML-LibXML
parentdf5cd0a16d356fca271b65a307d3fde00a34f5f0 (diff)
downloadports-eff20706e4f06c658470135f5b97d8918ddf2aa9.tar.gz
ports-eff20706e4f06c658470135f5b97d8918ddf2aa9.zip
textproc/p5-XML-LibXML: Update to 2.0208
Diffstat (limited to 'textproc/p5-XML-LibXML')
-rw-r--r--textproc/p5-XML-LibXML/Makefile3
-rw-r--r--textproc/p5-XML-LibXML/distinfo6
-rw-r--r--textproc/p5-XML-LibXML/files/patch-Makefile.PL19
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",