update p5-XML-LibXML to 2.0208

This commit is contained in:
bluhm 2022-11-03 20:37:22 +00:00
parent 690971b9a4
commit 4fc6a6e569
3 changed files with 15 additions and 6 deletions

View File

@ -1,6 +1,6 @@
COMMENT = perl binding for libxml2
DISTNAME = XML-LibXML-2.0207
DISTNAME = XML-LibXML-2.0208
EPOCH = 0
CATEGORIES = textproc

View File

@ -1,2 +1,2 @@
SHA256 (XML-LibXML-2.0207.tar.gz) = kDQ2yYWYdb71WTJDquhc7TKa0PtLV7v0WXXjJUfFDBU=
SIZE (XML-LibXML-2.0207.tar.gz) = 462595
SHA256 (XML-LibXML-2.0208.tar.gz) = DABrA7+NDrUx+1a9o64VdUylbYiN17noBauesZ1f1lM=
SIZE (XML-LibXML-2.0208.tar.gz) = 465763

View File

@ -22,14 +22,23 @@ Index: Makefile.PL
"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} .
+ ' -I${LOCALBASE}/include -I${LOCALBASE}/include/libxml2',
+ LIBS => '-L${LOCALBASE}/lib -lxml2',
);
-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",