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

15 lines
570 B
Plaintext

Upstream forces use of bundled sqlite but we use the one from ports.
$OpenBSD: patch-Makefile_PL,v 1.9 2010/08/22 16:55:48 sthen Exp $
--- Makefile.PL.orig Fri Jan 8 09:08:29 2010
+++ Makefile.PL Mon May 24 10:39:17 2010
@@ -123,7 +123,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 =~ /=(.*)/;