aboutsummaryrefslogtreecommitdiff
path: root/graphics/p5-GraphViz-Data-Structure/files
diff options
context:
space:
mode:
authorCheng-Lung Sung <clsung@FreeBSD.org>2007-04-02 09:53:02 +0000
committerCheng-Lung Sung <clsung@FreeBSD.org>2007-04-02 09:53:02 +0000
commit7c54d6e79af98e98da2dd181b6f95e9ea403d67d (patch)
tree2b71af6b2fa0621d12731c8bed70695fb195e1e9 /graphics/p5-GraphViz-Data-Structure/files
parente888c2e3a04a9c0e364de20abb02604f0f3b5a8c (diff)
downloadports-7c54d6e79af98e98da2dd181b6f95e9ea403d67d.tar.gz
ports-7c54d6e79af98e98da2dd181b6f95e9ea403d67d.zip
Notes
Diffstat (limited to 'graphics/p5-GraphViz-Data-Structure/files')
-rw-r--r--graphics/p5-GraphViz-Data-Structure/files/patch-Makefile.PL18
1 files changed, 18 insertions, 0 deletions
diff --git a/graphics/p5-GraphViz-Data-Structure/files/patch-Makefile.PL b/graphics/p5-GraphViz-Data-Structure/files/patch-Makefile.PL
new file mode 100644
index 000000000000..f911f05a1d64
--- /dev/null
+++ b/graphics/p5-GraphViz-Data-Structure/files/patch-Makefile.PL
@@ -0,0 +1,18 @@
+--- Makefile.PL.orig Tue Sep 27 05:20:28 2005
++++ Makefile.PL Mon Apr 2 17:27:28 2007
+@@ -2,15 +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 version (.*?) /);
+- die "You must have at least version 2.2 of dot to use this module" if ($v+0 < 2.2);
+-}
+
+ WriteMakefile(
+ NAME => 'GraphViz::Data::Structure',