[MacPorts] #22745: php5-odbc: iODBC support (was: php5 with iodbc support)
MacPorts
noreply at macports.org
Tue Dec 1 19:46:23 PST 2009
#22745: php5-odbc: iODBC support
--------------------------------+-------------------------------------------
Reporter: emgillis@… | Owner: ryandesign@…
Type: enhancement | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 1.8.1
Keywords: | Port: php5-odbc
--------------------------------+-------------------------------------------
Changes (by ryandesign@…):
* status: new => assigned
* port: php5, php5-odbc => php5-odbc
Comment:
php5 used to use Mac OS X's iODBC support; in fact there was no way to
turn it off. I removed this in r58589 when updating php5 to 5.3.0_3 in my
continuing effort to make php5 install only the core functionality and
move other features to separate ports. When I created the php5-odbc port
in r58581 I made it use unixODBC instead of iODBC because there is a port
for unixODBC and there is not a port for iODBC, and [wiki:FAQ#ownlibs
MacPorts policy] says we should use libraries provided by MacPorts, not
libraries provided by Mac OS X.
Having separate php5-iodbc and php5-unixodbc ports is not appropriate,
since they would both be installing the same php module, just linked to
different libraries. Instead, we should continue to have just the single
php5-odbc port with variants for which ODBC library to use.
Can a port for iODBC be created? If so, I can make a variant in the
php5-odbc port to use that. If a port cannot be created or there is a
reason why it should not be created, I can make a variant in php5-odbc to
use Mac OS X's iODBC.
I don't use ODBC and have no idea about the relative merits of unixODBC
and iODBC. Is there a strong consensus that one is better than the other?
If so, I should make that one the default.
--
Ticket URL: <http://trac.macports.org/ticket/22745#comment:4>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list