Always rely on unixODBC each time a port is looking for libodbc.so Remove odbc compat from libiodbc This allows to install both kde and gnome at the same time While here: - Convert libiodbc to USES=libtool - Convert a bunch of libiodbc dependencies to USES=libtool - Chase libiodbc.so shlib change - Stagify some ports - Convert some ports to USES=pgsql Discussed with: rakuco (kde) With hat: portmgr
29 lines
766 B
Makefile
29 lines
766 B
Makefile
# Created by: sergey@migsoft.com.ua
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= mysql-connector-odbc
|
|
PORTVERSION= 5.1.9
|
|
CATEGORIES= databases
|
|
MASTER_SITES= ${MASTER_SITE_MYSQL}
|
|
MASTER_SITE_SUBDIR= Connector-ODBC/5.1
|
|
PKGNAMESUFFIX= -${DRIVER_MANAGER}-mysql${MYSQL_VER}
|
|
|
|
MAINTAINER= sergey@network-asp.biz
|
|
COMMENT= ODBC driver for MySQL${MYSQL_VER} / ${DRIVER_MANAGER}
|
|
|
|
USE_LDCONFIG= yes
|
|
USE_MYSQL= yes
|
|
DEFAULT_MYSQL_VER= 51
|
|
USES= cmake
|
|
|
|
PLIST_SUB= VER=${PORTVERSION}
|
|
|
|
PORTDOCS= ChangeLog INSTALL \
|
|
README README.debug COPYING Licenses_for_Third-Party_Components.txt
|
|
|
|
LIB_DEPENDS+= libodbc.so:${PORTSDIR}/databases/unixODBC
|
|
BUILD_DEPENDS= unixODBC>=2.2.14_1:${PORTSDIR}/databases/unixODBC
|
|
CMAKE_ARGS += -DWITH_UNIXODBC=1
|
|
DRIVER_MANAGER= unixodbc
|
|
|
|
.include <bsd.port.mk>
|