]> ruderich.org/simon Gitweb - blhc/blhc.git/blobdiff - Build.PL
Only assign @cflags_ada if it's used.
[blhc/blhc.git] / Build.PL
index d64a95e9d9660a7a2ff7717a7ced70175ebeb793..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
@@ -30,10 +30,15 @@ my $build = Module::Build->new(
     requires           => {
                             # Debian specific (for now).
                             'Dpkg::Arch' => 0,
+                            'Dpkg::Version' => 0,
                             # Bundled with perl.
                             'Getopt::Long' => 0,
                             'Pod::Usage' => 0,
-                            'Term::ANSIColor' => 0,
+                            'Term::ANSIColor' => '2.01',
+                            'Text::ParseWords' => 0,
+                          },
+    configure_requires => {
+                            'Module::Build' => 0,
                           },
 );
 $build->create_build_script;