summaryrefslogtreecommitdiff
path: root/graphics/p5-GraphViz-Data-Structure/files/patch-Makefile.PL
blob: 24110458712ceb78236aa0dba3dc64d596b1e4c1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- Makefile.PL.orig	Thu Jul 12 04:44:56 2007
+++ Makefile.PL	Wed Jul 25 09:46:28 2007
@@ -2,17 +2,6 @@
 use 5.008;
 # See lib/ExtUtils/MakeMaker.pm for details of how to influence
 # the contents of the Makefile that is written.
-my $dot_version = `dot -V 2>&1`;
-
-if (!$dot_version) {
-  die "You must install the graphviz package (http://www.graphviz.org) before using this module.\n";
-}
-else {
-  my (@v) = ($dot_version =~ /dot (?:- Graphviz )?version (\d+)\.(\d+) /);
-  if ( $v[0] < 2 || $v[1] < 2 ) {
-    die "You must have at least version 2.2 of dot to use this module (found $v[0].$v[1])";
-  }
-}
 
 WriteMakefile(
     NAME         => 'GraphViz::Data::Structure',