2013-03-21 18:43:46 +01:00
|
|
|
# Created by: Max Khon <fjoe@FreeBSD.org>
|
2005-08-31 20:43:34 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= mysql2odbc
|
|
|
|
PORTVERSION= 0.99.2
|
2014-05-05 18:24:00 +02:00
|
|
|
PORTREVISION= 5
|
2005-08-31 20:43:34 +02:00
|
|
|
CATEGORIES= databases
|
|
|
|
MASTER_SITES= http://www.iodbc.org/downloads/mysql2odbc/
|
|
|
|
|
|
|
|
MAINTAINER= fjoe@FreeBSD.org
|
|
|
|
COMMENT= Openlink MySQL-ODBC Gateway
|
|
|
|
|
2016-04-01 16:00:51 +02:00
|
|
|
LIB_DEPENDS= libodbc.so:databases/unixODBC
|
2005-08-31 20:43:34 +02:00
|
|
|
CONFIGURE_ARGS= --with-unixodbc=${LOCALBASE}
|
|
|
|
|
2014-05-05 18:24:00 +02:00
|
|
|
USES= libtool
|
|
|
|
GNU_CONFIGURE= yes
|
2005-08-31 20:43:34 +02:00
|
|
|
CONFIGURE_ARGS+=--libdir=${PREFIX}/mysql2odbc
|
2015-03-25 10:33:52 +01:00
|
|
|
LDFLAGS+= -lpthread
|
2014-05-05 18:24:00 +02:00
|
|
|
INSTALL_TARGET= install-strip
|
2005-08-31 20:43:34 +02:00
|
|
|
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_LDCONFIG= yes
|
2005-08-31 20:43:34 +02:00
|
|
|
|
2013-03-21 18:43:46 +01:00
|
|
|
.include <bsd.port.mk>
|