]> ruderich.org/simon Gitweb - blhc/blhc.git/blobdiff - Build.PL
Only assign @cflags_ada if it's used.
[blhc/blhc.git] / Build.PL
index d49b069b71f0992ea871497d2c1f3b4d67f88a21..83040f126bb09da1cd01dbc40dae1b1bc5bc1f71 100644 (file)
--- a/Build.PL
+++ b/Build.PL
@@ -1,6 +1,6 @@
 #!/usr/bin/perl
 
-# Copyright (C) 2012  Simon Ruderich
+# Copyright (C) 2012-2013  Simon Ruderich
 #
 # This program is free software: you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -28,9 +28,17 @@ my $build = Module::Build->new(
     dist_version_from  => 'bin/blhc',
     license            => 'gpl', # gpl_3 is spec 2, not used by Module::Build
     requires           => {
+                            # Debian specific (for now).
+                            'Dpkg::Arch' => 0,
+                            'Dpkg::Version' => 0,
                             # Bundled with perl.
                             'Getopt::Long' => 0,
                             'Pod::Usage' => 0,
+                            'Term::ANSIColor' => '2.01',
+                            'Text::ParseWords' => 0,
+                          },
+    configure_requires => {
+                            'Module::Build' => 0,
                           },
 );
 $build->create_build_script;