perl-DBD-SQLite/perl-DBD-SQLite-use-external-sqlite3.patch

14 lines
519 B
Diff
Raw Normal View History

Index: DBD-SQLite-1.70/Makefile.PL
===================================================================
--- DBD-SQLite-1.70.orig/Makefile.PL
+++ DBD-SQLite-1.70/Makefile.PL
@@ -129,7 +129,7 @@ SCOPE: {
# a system sqlite is also sophisticated enough to have a patching system
# that can change the if ( 0 ) to if ( 1 )
my ($sqlite_local, $sqlite_base, $sqlite_lib, $sqlite_inc);
-if ( 0 ) {
+if ( 1 ) {
require File::Spec;
if ( $sqlite_base = (grep(/SQLITE_LOCATION=.*/, @ARGV))[0] ) {
$sqlite_base =~ /=(.*)/;