summaryrefslogtreecommitdiff
path: root/devel/p5-glib2
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2012-09-09 12:50:05 +0000
committerabs <abs@pkgsrc.org>2012-09-09 12:50:05 +0000
commit55603581010af5c2a7bbfbba7b82f7cb9e1bda9b (patch)
tree4799f6b615e7d0b4000cdad9fffac302ac80d301 /devel/p5-glib2
parent8f3ed8b09f1896476b99f5d13af26af91815aaa7 (diff)
downloadpkgsrc-55603581010af5c2a7bbfbba7b82f7cb9e1bda9b.tar.gz
add patch for last
Diffstat (limited to 'devel/p5-glib2')
-rw-r--r--devel/p5-glib2/patches/patch-Makefile.PL23
1 files changed, 23 insertions, 0 deletions
diff --git a/devel/p5-glib2/patches/patch-Makefile.PL b/devel/p5-glib2/patches/patch-Makefile.PL
new file mode 100644
index 00000000000..3eb439f8d5c
--- /dev/null
+++ b/devel/p5-glib2/patches/patch-Makefile.PL
@@ -0,0 +1,23 @@
+$NetBSD: patch-Makefile.PL,v 1.1 2012/09/09 12:50:05 abs Exp $
+
+Revert "configure_requires =>" to "prereqs => configure => requires =>" change
+introduced in Glib-1.262 to avoid following build error:
+
+ExtUtils::MakeMaker::YAML does not support circular references at
+ /usr/pkg/lib/perl5/5.14.0/ExtUtils/MakeMaker/YAML.pm line 499.
+
+--- Makefile.PL.orig 2012-09-09 12:43:32.000000000 +0000
++++ Makefile.PL
+@@ -118,11 +118,7 @@ my %meta_merge = (
+ web => 'http://git.gnome.org/browse/perl-Glib',
+ },
+ },
+- prereqs => {
+- configure => {
+- requires => \%PREREQ_PM,
+- },
+- },
++ configure_requires => \%PREREQ_PM,
+ no_index => {
+ file => [@xs_files, qw/Makefile.PL xsapi.pod.head xsapi.pod.foot/],
+ package => 'MY',