f4f46a920e
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
25 lines
568 B
Makefile
25 lines
568 B
Makefile
# Created by: Max Khon <fjoe@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= mysql2odbc
|
|
PORTVERSION= 0.99.2
|
|
PORTREVISION= 5
|
|
CATEGORIES= databases
|
|
MASTER_SITES= http://www.iodbc.org/downloads/mysql2odbc/
|
|
|
|
MAINTAINER= fjoe@FreeBSD.org
|
|
COMMENT= Openlink MySQL-ODBC Gateway
|
|
|
|
LIB_DEPENDS= libodbc.so:${PORTSDIR}/databases/unixODBC
|
|
CONFIGURE_ARGS= --with-unixodbc=${LOCALBASE}
|
|
|
|
USES= libtool
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+=--libdir=${PREFIX}/mysql2odbc
|
|
CPPFLAGS+= ${PTHREAD_CFLAGS}
|
|
LDFLAGS+= ${PTHREAD_LIBS}
|
|
INSTALL_TARGET= install-strip
|
|
|
|
USE_LDCONFIG= yes
|
|
|
|
.include <bsd.port.mk>
|