From 55603581010af5c2a7bbfbba7b82f7cb9e1bda9b Mon Sep 17 00:00:00 2001 From: abs Date: Sun, 9 Sep 2012 12:50:05 +0000 Subject: add patch for last --- devel/p5-glib2/patches/patch-Makefile.PL | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 devel/p5-glib2/patches/patch-Makefile.PL (limited to 'devel') 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', -- cgit v1.2.3