ports/databases/p5-DBD-SQLite/patches/patch-Makefile_PL

14 lines
475 B
Text

- Upstream forces use of bundled sqlite but we use the one from ports.
Index: Makefile.PL
--- Makefile.PL.orig
+++ 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 =~ /=(.*)/;