[perl-gtk2-gladexml] Makefile.PL: added META_MERGE block with module deps
- From: Brian Manning <bmanning src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [perl-gtk2-gladexml] Makefile.PL: added META_MERGE block with module deps
- Date: Thu, 15 Oct 2020 05:53:26 +0000 (UTC)
commit b6c899b7f09fb14dad53b7dca36430713fee3607
Author: Brian Manning <bmanning src gnome org>
Date: Wed Oct 14 22:23:41 2020 -0700
Makefile.PL: added META_MERGE block with module deps
- This fixes RT#107572
Makefile.PL | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
---
diff --git a/Makefile.PL b/Makefile.PL
index 7aa74f7..a08b26b 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -18,10 +18,10 @@ our %build_reqs = (
);
our %pre_reqs = (
- Glib:: => $build_reqs{'perl-Glib'},
- Gtk2:: => $build_reqs{'perl-Gtk2'},
- ExtUtils::Depends:: => $build_reqs{'perl-ExtUtils-Depends'},
- ExtUtils::PkgConfig:: => $build_reqs{'perl-ExtUtils-PkgConfig'},
+ 'Glib' => $build_reqs{'perl-Glib'},
+ 'Gtk2' => $build_reqs{'perl-Gtk2'},
+ 'ExtUtils::Depends' => $build_reqs{'perl-ExtUtils-Depends'},
+ 'ExtUtils::PkgConfig' => $build_reqs{'perl-ExtUtils-PkgConfig'},
);
# Writing a fake Makefile ensures that CPAN will pick up the correct
@@ -30,7 +30,7 @@ unless (eval "use ExtUtils::Depends '$build_reqs{'perl-ExtUtils-Depends'}';"
. "use ExtUtils::PkgConfig '$build_reqs{'perl-ExtUtils-PkgConfig'}';"
. "use Glib::MakeHelper;"
# just seeing if Glib is available isn't enough, make sure
- # it's recent enough, too
+ # it's recent enough, too
. "use Glib '$build_reqs{'perl-Glib'}';"
. "use Gtk2 '$build_reqs{'perl-Gtk2'}';"
. "1") {
@@ -71,6 +71,9 @@ WriteMakefile(
ABSTRACT_FROM => 'GladeXML.pm',
PREREQ_PM => \%pre_reqs,
XSPROTOARG => '-noprototypes',
+ META_MERGE => {
+ configure_requires => \%pre_reqs,
+ },
$gladexml->get_makefile_vars,
);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]