summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2020-01-20 20:12:14 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2020-01-20 20:12:14 +0000
commit8c84246955281a823878da4073d7d39147bdd384 (patch)
treea77a91ae430af5e6e1c72faccb181b913cc461c1 /textproc
parentUpdate to 1.03 (diff)
Update to 2.0202
Changes: https://metacpan.org/changes/distribution/XML-LibXML
Notes
Notes: svn path=/head/; revision=523680
Diffstat (limited to 'textproc')
-rw-r--r--textproc/p5-XML-LibXML/Makefile4
-rw-r--r--textproc/p5-XML-LibXML/distinfo6
-rw-r--r--textproc/p5-XML-LibXML/files/patch-Makefile.PL27
3 files changed, 32 insertions, 5 deletions
diff --git a/textproc/p5-XML-LibXML/Makefile b/textproc/p5-XML-LibXML/Makefile
index 8c0850d5520a..4aa886e35b36 100644
--- a/textproc/p5-XML-LibXML/Makefile
+++ b/textproc/p5-XML-LibXML/Makefile
@@ -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
diff --git a/textproc/p5-XML-LibXML/distinfo b/textproc/p5-XML-LibXML/distinfo
index 193aba0c06a2..eee2d306365e 100644
--- a/textproc/p5-XML-LibXML/distinfo
+++ b/textproc/p5-XML-LibXML/distinfo
@@ -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
diff --git a/textproc/p5-XML-LibXML/files/patch-Makefile.PL b/textproc/p5-XML-LibXML/files/patch-Makefile.PL
new file mode 100644
index 000000000000..5efcc1bbc851
--- /dev/null
+++ b/textproc/p5-XML-LibXML/files/patch-Makefile.PL
@@ -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 = (