This is an automated email from the git hooks/post-receive script.

carnil pushed a commit to branch master
in repository libdbd-sqlite3-perl.

commit 42007c9118e5c42a3a6e1dd497a20bf3170a7b7c
Author: Kenichi Ishigaki <ishig...@cpan.org>
Date:   Sat Feb 20 20:04:00 2016 +0900

    respect also SQLITE_INC/SQLITE_LIB when necessary
---
 Makefile.PL | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/Makefile.PL b/Makefile.PL
index 67cfc3b..9cb81f6 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -146,6 +146,14 @@ if ( 0 ) {
                        undef $sqlite_inc;
                }
        }
+       if ( my $my_inc = (grep /SQLITE_INC=.*/, @ARGV)[0] ) {
+               $my_inc =~ /=(.*)/;
+               $sqlite_inc = $1;
+       }
+       if ( my $my_lib = (grep /SQLITE_LIB=.*/, @ARGV)[0] ) {
+               $my_lib =~ /=(.*)/;
+               $sqlite_lib = $1;
+       }
 
        # Now check for a compatible sqlite3
        unless ( $sqlite_local ) {
@@ -194,7 +202,7 @@ if ( 0 ) {
        print "We're using the bundled sqlite library.\n" if 
$ENV{AUTOMATED_TESTING};
 }
 
-@ARGV = grep( ! /SQLITE_LOCATION|USE_LOCAL_SQLITE/, @ARGV );
+@ARGV = grep( ! /SQLITE_LOCATION|USE_LOCAL_SQLITE|SQLITE_LIB|SQLITE_INC/, 
@ARGV );
 
 
 

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libdbd-sqlite3-perl.git

_______________________________________________
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

Reply via email to