[Lunar-commits] <moonbase> libdbi-drivers: need to add a patch for pgsql.

Dennis 'stumbles' Veatch stumbles at lunar-linux.org
Wed Apr 22 03:56:57 CEST 2009


commit 676690e19a2467d046144515eb7a2f456bc7e45a
Author: Dennis 'stumbles' Veatch <stumbles at lunar-linux.org>
Date:   Tue Apr 21 21:56:57 2009 -0400

    libdbi-drivers: need to add a patch for pgsql.
    
    Also adding some optional_depends.
---
 sql/libdbi-drivers/BUILD   |    7 +++++++
 sql/libdbi-drivers/DEPENDS |    5 +++++
 sql/libdbi-drivers/DETAILS |    5 ++++-
 3 files changed, 16 insertions(+), 1 deletions(-)

diff --git a/sql/libdbi-drivers/BUILD b/sql/libdbi-drivers/BUILD
new file mode 100644
index 0000000..18c7712
--- /dev/null
+++ b/sql/libdbi-drivers/BUILD
@@ -0,0 +1,7 @@
+(
+
+  patch_it $SOURCE_CACHE/$SOURCE2 0 &&
+
+  default_build
+
+) > $C_FIFO 2>&1
diff --git a/sql/libdbi-drivers/DEPENDS b/sql/libdbi-drivers/DEPENDS
index 5babe26..7457694 100644
--- a/sql/libdbi-drivers/DEPENDS
+++ b/sql/libdbi-drivers/DEPENDS
@@ -8,3 +8,8 @@ optional_depends  "mysql"    "--with-mysql"    ""  \
 
 optional_depends  "postgresql" "--with-pgsql"  ""  \
                   "to build the postgresql driver"
+
+optional_depends  "freetds" "--with-freetds          \
+                  --with-freetds-incdir=/usr/include \
+                  --with-freetds-libdir=/usr/lib"    \
+                  "--without-freetds" "for Tabular Data Stream support"
diff --git a/sql/libdbi-drivers/DETAILS b/sql/libdbi-drivers/DETAILS
index e7d3705..50912e3 100644
--- a/sql/libdbi-drivers/DETAILS
+++ b/sql/libdbi-drivers/DETAILS
@@ -1,11 +1,14 @@
           MODULE=libdbi-drivers
          VERSION=0.8.2-1
           SOURCE=$MODULE-$VERSION.tar.gz
+         SOURCE2=libdbi-drivers.dbd.pgsql.c.patch
       SOURCE_URL=$SFORGE_URL/$MODULE
+     SOURCE2_URL=$PATCH_URL
       SOURCE_VFY=sha1:bc59ec84f93310674d5203e77661b580d54e1f73
+     SOURCE2_VFY=sha1:85df94391328ac6aaf9ef300cf80ea930100038d
         WEB_SITE=http://libdbi.sourceforge.net
          ENTERED=20060904
-         UPDATED=20090417
+         UPDATED=20090421
            SHORT="The database specific drivers for libdbi"
 
 cat << EOF


More information about the Lunar-commits mailing list