diff --git a/databases/cppdb/Makefile b/databases/cppdb/Makefile index 9cdfcf480b88..7d6a2bee9394 100644 --- a/databases/cppdb/Makefile +++ b/databases/cppdb/Makefile @@ -3,7 +3,7 @@ PORTNAME= cppdb PORTVERSION= 0.3.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= databases MASTER_SITES= SF/cppcms/${PORTNAME}/${PORTVERSION} diff --git a/databases/cppdb/files/patch-CMakeLists.txt b/databases/cppdb/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..859a56468b92 --- /dev/null +++ b/databases/cppdb/files/patch-CMakeLists.txt @@ -0,0 +1,11 @@ +--- CMakeLists.txt.orig 2012-06-23 13:36:14.000000000 +0430 ++++ CMakeLists.txt 2014-08-19 18:51:40.000000000 +0430 +@@ -196,7 +196,7 @@ + endif() + + if(NOT DISABLE_MYSQL) +- find_library(MYSQL_LIB mysqlclient) ++ find_library(MYSQL_LIB mysqlclient PATH_SUFFIXES mysql) + find_path(MYSQL_PATH mysql.h PATH_SUFFIXES mysql) + if(MYSQL_LIB AND MYSQL_PATH) + include_directories(${MYSQL_PATH})