[gimp-perl] de-hardcode deps a bit
- From: Ed J <edj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp-perl] de-hardcode deps a bit
- Date: Sat, 7 May 2016 16:12:06 +0000 (UTC)
commit 75e3250824018925cd13cf52286b10de1ca33bfd
Author: Ed J <edj src gnome org>
Date: Sat May 7 16:51:51 2016 +0100
de-hardcode deps a bit
Makefile.PL | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/Makefile.PL b/Makefile.PL
index a781d4f..23ff35b 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -22,13 +22,14 @@ setver:
EOF
}
-my $pkg = ExtUtils::Depends->new(qw(Gimp Alien::Gimp Gtk2 PDL));
+my @ext_deps = qw(Alien::Gimp Gtk2 PDL);
+my $pkg = ExtUtils::Depends->new('Gimp', @ext_deps);
my $IDIR = 'lib/Gimp/Install';
my $IFILES = "$IDIR/Files.pm";
mkdir $IDIR unless -d $IDIR;
$pkg->save_config($IFILES);
# reinit so no PM which breaks XSMULTI
-$pkg = ExtUtils::Depends->new(qw(Gimp Alien::Gimp Gtk2 PDL));
+$pkg = ExtUtils::Depends->new('Gimp', @ext_deps);
$pkg->set_inc(q{-Ddatadir='""'});
my $runtime_reqs = {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]