[perl-Cflow] really rename the ccflags patch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 1d6bcb249285d3134411c27d9a97f9d7ff96d469
Author: Iain Arnell <iarnell@xxxxxxxxx>
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" }
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel


[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux