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'
|