File: 00-conf_ccflags.patch

package info (click to toggle)
libgeo-proj4-perl 1.09-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 176 kB
  • sloc: ansic: 362; perl: 347; makefile: 3
file content (30 lines) | stat: -rw-r--r-- 882 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Description: add $Config{ccflags} to CCFLAGS in Makefile.PL, otherwise the
 package FTBFS with perl 5.14
Origin: vendor
Bug-Debian: http://bugs.debian.org/647120
Forwarded: no
Author: Dominic Hargreaves <dom@earth.li>
Reviewed-by: gregor herrmann <gregoa@debian.org>
Last-Update: 2011-11-13

---
 Makefile.PL |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

--- a/Makefile.PL
+++ b/Makefile.PL
@@ -1,4 +1,5 @@
 use ExtUtils::MakeMaker;
+use Config;
                                                                                 
 require 5.006;
 
@@ -44,7 +45,7 @@ WriteMakefile
  , VERSION  => $relversion
  , AUTHOR   => 'Mark Overmeer'
  , ABSTRACT => 'Proj4 library for carthographic projections'
- , INC      => "-I$FWTools/include -I."
+ , INC      => "-I$FWTools/include -I. $Config{ccflags}"
  , LIBS     => [ "-L$FWTools/lib -lproj" ]
  , LICENSE  => 'perl'