Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Jan 2005 11:40:37 +0100
From:      Frode Nordahl <frode@nordahl.net>
To:        ports@freebsd.org
Subject:   MyODBC [PATCH]
Message-ID:  <E669C5E6-622A-11D9-B7F5-000A95A9A574@nordahl.net>

next in thread | raw e-mail | index | archive | help

--Apple-Mail-4-258502625
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=US-ASCII;
	format=flowed

Hello,

databases/myodbc is currently marked BROKEN, however, it compiles fine 
if you use unixodbc as the drivermanager.

It seems like the MySQL developers think iODBC is in error, look at the 
following thread at mysql.com: http://lists.mysql.com/myodbc/9564

Can't we just change to unixodbc as default drivermanager until they 
work things out?

Patch included below.

Regards,

Frode Nordahl


--Apple-Mail-4-258502625
Content-Transfer-Encoding: 7bit
Content-Type: application/octet-stream;
	x-unix-mode=0644;
	name="myodbc.patch"
Content-Disposition: attachment;
	filename=myodbc.patch

--- myodbc/Makefile.org	Mon Nov 29 22:19:02 2004
+++ myodbc/Makefile	Sun Jan  9 11:29:17 2005
@@ -16,8 +16,6 @@
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	ODBC driver for MySQL
 
-BROKEN=		Does not compile
-
 USE_MYSQL=	yes
 
 USE_GMAKE=	yes
@@ -30,8 +28,8 @@
 
 # MyODBC needs an ODBC driver manager to be installed, and it supports both
 # iODBC and unixODBC.  The following variable may be set at built-time to
-# either "iodbc" or "unixodbc", with the former being the default:
-DRIVER_MANAGER?=	iodbc
+# either "iodbc" or "unixodbc", with the latter being the default:
+DRIVER_MANAGER?=	unixodbc
 
 .if ${DRIVER_MANAGER} == "unixodbc"
 CONFIGURE_ARGS+=	--with-odbc-ini=${LOCALBASE}/etc/odbc.ini \

--Apple-Mail-4-258502625--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E669C5E6-622A-11D9-B7F5-000A95A9A574>