the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: libiodbc
Version: 2.50.3
Revision: 16
##
Depends: %N-shlibs (= %v-%r)
BuildDepends: fink (>= 0.24.12-1)
BuildDependsOnly: true
Replaces: %N (<< %v-7)
###
Source: http://www.iodbc.org/dist/%n-%v.tar.gz
Source-MD5: 5d23b748d4c57d61a004395cea5ff0f0
###
UpdateConfigGuess: true
UpdateLibTool: true
##3
PatchFile: %n.patch
PatchFile-MD5: c7ca65222f56f96db4dc858f1f3953ee
###
ConfigureParams: --with-pic --enable-shared --enable-static --with-iodbc-inidir=%p/etc --mandir=%i/share/man --infodir=%p/share/info --libexecdir=%p/lib
###
InstallScript: <<
make install prefix=%i
mv %i/include/sql.h %i/include/sql.h.libiodbc
mv %i/include/sqlext.h %i/include/sqlext.h.libiodbc
mv %i/include/sqltypes.h %i/include/sqltypes.h.libiodbc
<<
###
SplitOff: <<
Package: %N-shlibs
Replaces: %N (<< %v-7)
Files: <<
lib/%N.*.dylib
<<
Shlibs: %p/lib/%N.2.dylib 3.0.0 %n (>= 2.50.3-6)
DocFiles: AUTHORS COPYING ChangeLog IAFA-PACKAGE INSTALL NEWS README
<<
###
DocFiles: COPYING README odbc.ini.sample
###
PostInstScript: <<
update-alternatives --install %p/include/sql.h sql.h %p/include/sql.h.libiodbc 40
update-alternatives --install %p/include/sqlext.h sqlext.h %p/include/sqlext.h.libiodbc 40
update-alternatives --install %p/include/sqltypes.h sqltypes.h %p/include/sqltypes.h.libiodbc 40
<<
###
PreRmScript: <<
if [ $1 != "upgrade" ]; then
update-alternatives --remove sql.h %p/include/sql.h.libiodbc
update-alternatives --remove sqlext.h %p/include/sqlext.h.libiodbc
update-alternatives --remove sqltypes.h %p/include/sqltypes.h.libiodbc
fi
<<
###
Description: Intrinsic ODBC libraries
DescDetail: <<
iODBC (intrinsic Open Database Connectivity) driver manager
is compatible with ODBC 2.x specification and performs exactly
same jobs of ODBC 2.x driver manager(i.e. driver loading,
Parameters and function sequence checking, driver's function
Invoking, etc.). Any ODBC driver works with ODBC 2.0 driver
Manager will also work with iODBC driver manager and vice versa.
Applications (using ODBC function calls) linked with
iODBC driver manager will be able to simultaneously access
different type of data sources within one process through
suitable iODBC drivers.
<<
###
License: LGPL
Maintainer: None
Homepage: http://www.mysql.com/
diff -Naur libiodbc-2.50.3.old/dlproc.h libiodbc-2.50.3.new/dlproc.h
--- libiodbc-2.50.3.old/dlproc.h Sat Apr 24 18:54:12 1999
+++ libiodbc-2.50.3.new/dlproc.h Tue Jul 30 11:58:53 2002
@@ -31,7 +31,7 @@
typedef SQLRETURN (FAR * HPROC) ();
#ifdef DLDAPI_SVR4_DLFCN
-#include
+/* #include
typedef void *HDLL;
#endif