freebsd-ports/databases/p5-DBD-Pg32/files/patch-Makefile.PL
Matthew Seaman d3d44d35e5 Copy an older version of the p5-DBD-Pg port and hook it back up to the
tree.

Changes to utf8 handling in DBD::Pg 3.3.0 have caused it to be
blacklisted for the latest versions of RT 4.0 and 4.2.  This version
is what they prefer.
2014-07-29 08:30:25 +00:00

19 lines
812 B
Perl

--- Makefile.PL.orig 2010-11-22 08:55:41.000000000 +0800
+++ Makefile.PL 2010-11-22 08:57:50.000000000 +0800
@@ -196,7 +196,7 @@
(
NAME => 'DBD::Pg',
VERSION_FROM => 'Pg.pm',
- INC => "-I$POSTGRES_INCLUDE -I$dbi_arch_dir",
+ INC => "-I$POSTGRES_INCLUDE -I$dbi_arch_dir $comp_opts",
OBJECT => "Pg\$(OBJ_EXT) dbdimp\$(OBJ_EXT) quote\$(OBJ_EXT) types\$(OBJ_EXT)",
LIBS => ["-L$POSTGRES_LIB -lpq -lm"],
AUTHOR => 'Greg Sabino Mullane',
@@ -207,7 +207,6 @@
'Test::More' => '0.61',
'version' => '0',
},
- CCFLAGS => $comp_opts,
PERL_MALLOC_OK => 1,
NEEDS_LINKING => 1,
NO_META => 1,