$OpenBSD: patch-src_dbic++_cc,v 1.2 2012/04/06 19:25:23 jeremy Exp $
--- src/dbic++.cc.orig	Tue Jul  5 17:42:19 2011
+++ src/dbic++.cc	Mon Nov  7 12:46:57 2011
@@ -110,8 +110,7 @@ namespace dbi {
 
     void initCheck(string driver_name) {
         if (!drivers.size()) {
-            dbiInitialize("./lib/dbic++");
-            dbiInitialize();
+            dbiInitialize("${LOCALBASE}/lib/dbic++");
         }
 
         if (!drivers[driver_name])
