mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
databases/cppdb: fix mysql/mariadb support
PR: 192833 Submitted by: maintainer
This commit is contained in:
parent
b2b07f95e7
commit
fdabe2a8b3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=365476
2 changed files with 12 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
PORTNAME= cppdb
|
PORTNAME= cppdb
|
||||||
PORTVERSION= 0.3.1
|
PORTVERSION= 0.3.1
|
||||||
PORTREVISION= 1
|
PORTREVISION= 2
|
||||||
CATEGORIES= databases
|
CATEGORIES= databases
|
||||||
MASTER_SITES= SF/cppcms/${PORTNAME}/${PORTVERSION}
|
MASTER_SITES= SF/cppcms/${PORTNAME}/${PORTVERSION}
|
||||||
|
|
||||||
|
|
11
databases/cppdb/files/patch-CMakeLists.txt
Normal file
11
databases/cppdb/files/patch-CMakeLists.txt
Normal file
|
@ -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})
|
Loading…
Add table
Reference in a new issue