mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-18 08:02:48 +00:00
ea8c8ec7da
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
40 lines
783 B
Makefile
40 lines
783 B
Makefile
# Created by: sergey@migsoft.com.ua
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= mysql-connector-odbc
|
|
PORTVERSION= 5.3.13
|
|
PORTREVISION= 1
|
|
CATEGORIES= databases
|
|
MASTER_SITES= MYSQL/Connector-ODBC/5.3
|
|
PKGNAMESUFFIX= -${DRIVER_MANAGER}-mysql${MYSQL_VER}
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= ODBC driver for MySQL${MYSQL_VER} / ${DRIVER_MANAGER}
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
|
|
|
LIB_DEPENDS= libodbc.so:databases/unixODBC
|
|
|
|
USES= cmake compiler:c++11-lang mysql
|
|
|
|
CMAKE_ARGS= -DWITH_UNIXODBC=1 -DDISABLE_GUI=1
|
|
USE_LDCONFIG= yes
|
|
|
|
MAKE_JOBS_UNSAFE=yes
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
DRIVER_MANAGER= unixodbc
|
|
|
|
PORTDOCS= *
|
|
|
|
PLIST_FILES= bin/myodbc-installer \
|
|
lib/libmyodbc5a.so \
|
|
lib/libmyodbc5w.so
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
.include <bsd.port.mk>
|