Accepting request 90187 from home:jengelh:dev

OBS-URL: https://build.opensuse.org/request/show/90187
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/cppdb?expand=0&rev=1
This commit is contained in:
Ismail Dönmez
2011-11-06 18:35:59 +00:00
committed by Git OBS Bridge
commit ab81d1210d
5 changed files with 204 additions and 0 deletions

17
cppdb-postgres.diff Normal file
View File

@@ -0,0 +1,17 @@
---
CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: cppdb-0.0.3/CMakeLists.txt
===================================================================
--- cppdb-0.0.3.orig/CMakeLists.txt
+++ cppdb-0.0.3/CMakeLists.txt
@@ -160,7 +160,7 @@ endif()
if(NOT DISABLE_PQ)
find_library(PQ_LIB pq)
- find_path(PQ_PATH libpq-fe.h PATH_SUFFIXES postgresql)
+ find_path(PQ_PATH libpq-fe.h PATH_SUFFIXES postgresql pgsql)
if(PQ_LIB AND PQ_PATH)
include_directories(${PQ_PATH})
if(PQ_BACKEND_INTERNAL)