2013-09-20 18:13:47 +02:00
|
|
|
# Created by: sergey@migsoft.com.ua
|
2000-05-30 02:12:26 +02:00
|
|
|
|
2006-01-17 21:50:46 +01:00
|
|
|
PORTNAME= mysql-connector-odbc
|
2019-07-01 09:43:32 +02:00
|
|
|
PORTVERSION= 5.3.13
|
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.
PR: 238330
2019-07-26 22:46:53 +02:00
|
|
|
PORTREVISION= 1
|
2000-05-30 02:12:26 +02:00
|
|
|
CATEGORIES= databases
|
2015-05-11 20:34:57 +02:00
|
|
|
MASTER_SITES= MYSQL/Connector-ODBC/5.3
|
2006-01-17 21:50:46 +01:00
|
|
|
PKGNAMESUFFIX= -${DRIVER_MANAGER}-mysql${MYSQL_VER}
|
2015-02-21 16:13:15 +01:00
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
|
2000-05-30 02:12:26 +02:00
|
|
|
|
2016-04-21 17:41:24 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2006-01-17 21:50:46 +01:00
|
|
|
COMMENT= ODBC driver for MySQL${MYSQL_VER} / ${DRIVER_MANAGER}
|
2000-05-30 02:12:26 +02:00
|
|
|
|
2016-05-16 20:34:11 +02:00
|
|
|
LICENSE= GPLv2
|
2019-07-01 09:43:32 +02:00
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
2016-05-16 20:34:11 +02:00
|
|
|
|
2016-04-01 16:00:51 +02:00
|
|
|
LIB_DEPENDS= libodbc.so:databases/unixODBC
|
2015-02-21 16:13:15 +01:00
|
|
|
|
2019-07-18 13:30:00 +02:00
|
|
|
USES= cmake compiler:c++11-lang mysql
|
2019-07-01 09:43:32 +02:00
|
|
|
|
|
|
|
CMAKE_ARGS= -DWITH_UNIXODBC=1 -DDISABLE_GUI=1
|
2006-09-11 13:38:10 +02:00
|
|
|
USE_LDCONFIG= yes
|
2016-05-16 20:34:11 +02:00
|
|
|
|
|
|
|
MAKE_JOBS_UNSAFE=yes
|
2006-01-17 21:50:46 +01:00
|
|
|
|
2015-02-21 16:13:15 +01:00
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
|
|
|
|
DRIVER_MANAGER= unixodbc
|
2005-01-14 00:51:38 +01:00
|
|
|
|
2019-07-01 09:43:32 +02:00
|
|
|
PORTDOCS= *
|
2004-04-10 16:08:08 +02:00
|
|
|
|
2015-02-21 16:13:15 +01:00
|
|
|
PLIST_FILES= bin/myodbc-installer \
|
|
|
|
lib/libmyodbc5a.so \
|
|
|
|
lib/libmyodbc5w.so
|
|
|
|
|
|
|
|
OPTIONS_DEFINE= DOCS
|
2000-05-30 02:12:26 +02:00
|
|
|
|
2006-01-17 21:50:46 +01:00
|
|
|
.include <bsd.port.mk>
|