[perl-Cflow] really rename the ccflags patch

Iain Arnell iarnell at fedoraproject.org
Sat Jun 18 01:08:28 UTC 2011


commit 1d6bcb249285d3134411c27d9a97f9d7ff96d469
Author: Iain Arnell <iarnell at gmail.com>
Date:   Sat Jun 18 03:08:00 2011 +0200

    really rename the ccflags patch

 perl-Cflow-ccflags.patch |   21 +++++++++++++++++++++
 1 files changed, 21 insertions(+), 0 deletions(-)
---
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" }


More information about the scm-commits mailing list