Index: DBD-SQLite-1.28_02/Makefile.PL --- DBD-SQLite-1.28_02/Makefile.PL.orig 2009-10-06 08:16:49 +0200 +++ DBD-SQLite-1.28_02/Makefile.PL 2009-10-12 08:29:04 +0200 @@ -17,46 +17,7 @@ return @_; } -# Are we upgrading from a critically out of date version? -eval { - require DBD::SQLite; - if ( $DBD::SQLite::VERSION < 1.0 ) { - print <VERSION < $DBI_required ) { - print "DBI 1.57 is required to configure this module, please install it or upgrade your CPAN/CPANPLUS shell\n"; - exit(0); -} # See if we have a C compiler # The following code is adapted from Module::Install::Can @@ -198,17 +159,17 @@ # Prepare Compiler Options my @CC_LIBS = (); -if ( $sqlite_lib ) { - push @CC_LIBS, "-L$sqlite_lib"; -} -unless ( $sqlite_local ) { - push @CC_LIBS, '-lsqlite3'; -} +my $libs = `@l_prefix@/bin/pkg-config sqlite3 --libs`; +$libs =~ s/\r?\n$//s; +push @CC_LIBS, $libs; +my $inc = `@l_prefix@/bin/pkg-config sqlite3 --cflags-only-I`; +$inc =~ s/\r?\n$//s; my @CC_INC = ( '-I.', '-I$(DBI_INSTARCH_DIR)', ); +unshift @INC, $inc; if ( $sqlite_inc ) { push @CC_INC, "-I$sqlite_inc"; } Index: DBD-Sybase-1.09/dbdimp.c --- DBD-Sybase-1.09/dbdimp.c.orig 2008-08-31 14:08:17 +0200 +++ DBD-Sybase-1.09/dbdimp.c 2009-10-12 08:29:04 +0200 @@ -774,22 +774,22 @@ #if defined(CS_VERSION_150) if(cs_ver == CS_VERSION_150) - BLK_VERSION = BLK_VERSION_150; + BLK_VERSION = CS_VERSION_150; #endif #if defined(CS_VERSION_125) if(cs_ver == CS_VERSION_125) - BLK_VERSION = BLK_VERSION_125; + BLK_VERSION = CS_VERSION_125; #endif #if defined(CS_VERSION_120) if(cs_ver == CS_VERSION_120) - BLK_VERSION = BLK_VERSION_120; + BLK_VERSION = CS_VERSION_120; #endif #if defined(CS_VERSION_110) if(cs_ver == CS_VERSION_110) - BLK_VERSION = BLK_VERSION_110; + BLK_VERSION = CS_VERSION_110; #endif if (cs_ver == CS_VERSION_100) - BLK_VERSION = BLK_VERSION_100; + BLK_VERSION = CS_VERSION_100; #if USE_CSLIB_CB if (cs_config(context, CS_SET, CS_MESSAGE_CB, Index: DBD-cego/Makefile.PL --- DBD-cego/Makefile.PL.orig 2009-04-09 17:37:51 +0200 +++ DBD-cego/Makefile.PL 2009-10-12 08:29:04 +0200 @@ -43,7 +43,7 @@ 'VERSION_FROM' => 'Cego.pm', 'PREREQ_PM' => {DBI => 1.03}, 'OBJECT' => '$(O_FILES)', - 'INC' => '-I$(DBI_INSTARCH_DIR) -I' . $opt->{'prefix'} . '/include', + 'INC' => '-I$(DBI_INSTARCH_DIR) -I' . $opt->{'prefix'} . '/include/cego', 'MYEXTLIB' => $opt->{'prefix'} . "/lib/libcego.a " . $opt->{'prefix'} . "/lib/libXML.a " . $opt->{'prefix'} . "/lib/libBase.a", Index: DBD-mysql-4.013/dbdimp.h --- DBD-mysql-4.013/dbdimp.h.orig 2009-09-15 03:57:53 +0200 +++ DBD-mysql-4.013/dbdimp.h 2009-10-12 08:29:04 +0200 @@ -19,6 +19,7 @@ * Header files we use */ #include /* installed by the DBI module */ +#include #include /* Comes with MySQL-devel */ #include /* Comes MySQL */ Index: SQL-Statement-1.23/Makefile.PL --- SQL-Statement-1.23/Makefile.PL.orig 2009-10-12 08:29:18 +0200 +++ SQL-Statement-1.23/Makefile.PL 2009-10-12 08:32:31 +0200 @@ -3,52 +3,6 @@ use strict; require ExtUtils::MakeMaker; -eval { require SQL::Statement; }; - -unless ($@) -{ - my $sqlstmtver = $SQL::Statement::VERSION; - $sqlstmtver =~ s/_[0-9]+$//; - if ( $sqlstmtver <= 1.20 ) - { - my $warning = sprintf( <<'END_OF_WARNING', $SQL::Statement::VERSION ); - -WARNING! You seem to have an older version of SQL::Statement already installed (%s <= 1.20). -This new version introduces a number of features that will impact operation of SQL::Statement and of DBD drivers for CSV, AnyData, and Excel. - -Changes include (1.003): - * There are *many* new SQL features including table joins - * BLOBS, Empty strings, and NULLs behave differently - * Some applications may run a bit slower than previously - -Changes include (1.22): - * behavior for unquoted identifiers modified to lower case them - * IN and BETWEEN operators are supported native - -See the Changes for details. - -END_OF_WARNING - - my $cpan_smoker = grep { $_ =~ m/(?:CR_SMOKER|CPAN_REPORTER|AUTOMATED_TESTING)/ } keys %ENV; - if ( $cpan_smoker || defined( $ENV{SQL_STATEMENT_WARN_UPDATE} ) ) - { - warn $warning; - } - else - { - $warning .= <<'END_OF_WORKAROUND'; -Use - -$ env SQL_STATEMENT_WARN_UPDATE=sure perl Makefile.PL - -to build and install anyway. - -END_OF_WORKAROUND - Carp::croak($warning); - } - } -} - my %opts = ( 'NAME' => 'SQL::Statement', 'VERSION_FROM' => './lib/SQL/Statement.pm', @@ -76,3 +30,4 @@ $opts{'AUTHOR'} = 'Jeff Zucker , Jens Rehsack '; } ExtUtils::MakeMaker::WriteMakefile(%opts); + Index: SQL-Translator-0.11002/Makefile.PL --- SQL-Translator-0.11002/Makefile.PL.orig 2009-08-28 14:08:09 +0200 +++ SQL-Translator-0.11002/Makefile.PL 2009-10-12 08:29:04 +0200 @@ -14,7 +14,7 @@ 'Carp::Clan' => 0, 'IO::Dir' => 0, 'IO::Scalar' => 2.110, - 'Parse::RecDescent' => 1.962002, + 'Parse::RecDescent' => 1.962, 'Pod::Usage' => 0, 'Class::Accessor::Fast' => 0, 'DBI' => 0, @@ -32,13 +32,6 @@ 'Text::RecordParser' => 0.02, 'XML::LibXML' => 1.69, }, - test_requires => { - 'YAML' => 0.66, - 'File::Basename' => 0, - 'Test::More' => 0.6, - 'Test::Differences' => 0, - 'Test::Exception' => 0, - }, }; perl_version '5.005';