From 1d6bcb249285d3134411c27d9a97f9d7ff96d469 Mon Sep 17 00:00:00 2001
From: Iain Arnell <iarn...@gmail.com>
Date: Sat, 18 Jun 2011 03:08:00 +0200
Subject: really rename the ccflags patch

---
 perl-Cflow-ccflags.patch | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 perl-Cflow-ccflags.patch

diff --git a/perl-Cflow-ccflags.patch b/perl-Cflow-ccflags.patch
new file mode 100644
index 0000000..f166e11
--- /dev/null
+++ b/perl-Cflow-ccflags.patch
@@ -0,0 +1,21 @@
+diff -up Cflow-1.053/Makefile.PL.orig Cflow-1.053/Makefile.PL
+--- Cflow-1.053/Makefile.PL.orig       2003-05-10 18:31:56.000000000 +0200
++++ Cflow-1.053/Makefile.PL    2011-06-17 17:45:51.000000000 +0200
+@@ -49,7 +49,7 @@ sub find_flow_tools {
+    }
+    if ("$libdir") {
+       print "Found flow-tools... using \"-DOSU $incdir $libdir -lft -lz\".\n";
+-      return { CCFLAGS => '-DOSU',
++      return { CCFLAGS => $Config{ccflags} . ' -DOSU',
+              INC     => join(' ', $incdir),
+              LIBS    => [ join(' ', $libdir, '-lnsl -lft -lz') ] }
+    }
+@@ -66,7 +66,7 @@ sub find_argus {
+    }
+    if ("$libdir") {
+       print "Found argus... using \"-DARGUS $incdir $dir/argus_common.a 
$dir/argus_parse.a\".\n";
+-      return { CCFLAGS => '-DARGUS',
++      return { CCFLAGS => $Config{ccflags} . ' -DARGUS',
+              INC     => join(' ', $incdir),
+              LIBS    => [ join(' ', $libdir, '-lnsl', '-lm') ],
+              LDFROM  => "\$(OBJECT) $dir/argus_common.a $dir/argus_parse.a" }
-- 
cgit v1.1


        
https://src.fedoraproject.org/cgit/perl-Cflow.git/commit/?h=epel7&id=1d6bcb249285d3134411c27d9a97f9d7ff96d469
_______________________________________________
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org

Reply via email to