8543186e95
- Switch to USES=mysql - Don't install license with documentation - Mark MAKE_JOBS_UNSAFE, sporadic build failures with parallel build: CMake Error at cmake/generateinifiles.cmake:60 (CONFIGURE_FILE): configure_file Problem configuring file
42 lines
916 B
Makefile
42 lines
916 B
Makefile
# Created by: sergey@migsoft.com.ua
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= mysql-connector-odbc
|
|
PORTVERSION= 5.3.4
|
|
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}/COPYING
|
|
|
|
BUILD_DEPENDS= unixODBC>=2.2.14_1:databases/unixODBC
|
|
LIB_DEPENDS= libodbc.so:databases/unixODBC
|
|
|
|
USES= cmake mysql
|
|
CMAKE_ARGS= -DWITH_UNIXODBC=1
|
|
USE_LDCONFIG= yes
|
|
|
|
MAKE_JOBS_UNSAFE=yes
|
|
|
|
IGNORE_WITH_MYSQL= 55 55m 55p 51 51m 51p
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
DRIVER_MANAGER= unixodbc
|
|
|
|
PORTDOCS= ChangeLog INSTALL \
|
|
README README.debug Licenses_for_Third-Party_Components.txt
|
|
|
|
PLIST_FILES= bin/myodbc-installer \
|
|
lib/libmyodbc5a.so \
|
|
lib/libmyodbc5w.so
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
.include <bsd.port.mk>
|