Date: Wed, 10 Mar 2004 19:48:44 +0200 (EET) From: Sergey Prihodko <sergey@migsoft.com.ua> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/64058: Update of port databases/libiodbc to version 3.51.2 (latest release on iodbc.org) Message-ID: <20040310174844.36AF6400F@network-asp.biz> Resent-Message-ID: <200403101750.i2AHoFrk012627@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 64058 >Category: ports >Synopsis: Update of port databases/libiodbc to version 3.51.2 (latest release on iodbc.org) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Wed Mar 10 09:50:14 PST 2004 >Closed-Date: >Last-Modified: >Originator: Sergey Prihodko >Release: FreeBSD 4.9-STABLE i386 >Organization: MIG Software Ltd. >Environment: system: FreeBSD freebsd.nasp 4.9-STABLE FreeBSD 4.9-STABLE #0: Fri Mar 5 09:29:44 EET 2004 root@freebsd.nasp:/usr/obj/usr/src/sys/RKERNEL i386 >Description: Current version of port is too old. Latest release version on http://www.iodbc.org/index.php?page=downloads/index is 3.51.2 >How-To-Repeat: >Fix: Added libtool15 dependancy (compilation failed with libtool13), fixed download path, added patch to fix wchar_t compilation error. --- libiodbc.port.sh begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # libiodbc # libiodbc/Makefile # libiodbc/distinfo # libiodbc/pkg-descr # libiodbc/files # libiodbc/files/patch-configure # libiodbc/files/patch-include-sqltypes.h # libiodbc/pkg-plist # echo c - libiodbc mkdir -p libiodbc > /dev/null 2>&1 echo x - libiodbc/Makefile sed 's/^X//' >libiodbc/Makefile << 'END-of-libiodbc/Makefile' X# New ports collection makefile for: libiodbc X# Date created: 24 Mar 2000 X# Whom: erikhb@bgnett.no X# X# $FreeBSD: ports/databases/libiodbc/Makefile,v 1.9 2004/02/08 13:29:31 krion Exp $ X# X# Note: The location of ${INIDIR} and the installed name of the "odbctest" X# binary were chosen such that this port does not conflict with X# databases/unixODBC. X XPORTNAME= libiodbc XPORTVERSION= 3.51.2 XCATEGORIES= databases XMASTER_SITES= http://www.iodbc.org/downloads/iODBC/ X XMAINTAINER= ebakke@trolltech.com XCOMMENT= An ODBC 3.x driver manager, for universal data source access X XCONFLICTS= unixODBC-* X XUSE_LIBTOOL= yes XWANT_LIBTOOL_VER=15 XUSE_GMAKE= yes XINSTALLS_SHLIB= yes XINIDIR= ${PREFIX}/etc/${PORTNAME} XCONFIGURE_ENV= LDFLAGS="${PTHREAD_LIBS}" XCONFIGURE_ARGS= --with-iodbc-inidir=${INIDIR} --with-pthread X X.if !defined(WITHOUT_GUI) XUSE_GNOME= gtk12 XPLIST_SUB+= GUI="" X.else XCONFIGURE_ARGS+= --disable-gui XPLIST_SUB+= GUI="@comment " X.endif X Xpost-install: X# @ ${MKDIR} ${PREFIX}/bin && ${INSTALL_PROGRAM} \ X# ${WRKSRC}/samples/iodbctest ${PREFIX}/bin/iodbctest X @ ${MKDIR} ${INIDIR} && \ X ${INSTALL_DATA} ${WRKSRC}/etc/odbc*.ini.sample ${INIDIR} X.if !defined(NOPORTDOCS) X @ ${MKDIR} ${DOCSDIR} X.for docfile in AUTHORS COPYING ChangeLog NEWS README X @ ${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR} X.endfor X.endif X X.include <bsd.port.mk> END-of-libiodbc/Makefile echo x - libiodbc/distinfo sed 's/^X//' >libiodbc/distinfo << 'END-of-libiodbc/distinfo' XMD5 (libiodbc-3.51.2.tar.gz) = bda106d1f0f4d2550d38a8f86540537f XSIZE (libiodbc-3.51.2.tar.gz) = 546518 END-of-libiodbc/distinfo echo x - libiodbc/pkg-descr sed 's/^X//' >libiodbc/pkg-descr << 'END-of-libiodbc/pkg-descr' XiODBC (intrinsic Open Database Connectivity) is an ODBC driver manager that Xis compatible with the ODBC 2.x and 3.x specifications. It performs the Xstandard tasks of a driver manager, i.e. driver loading, parameter and Xfunction sequence checking, driver function invocation, etc. X XApplications linked with the iODBC driver manager will be able - through ODBC Xfunction calls - to access simultaneously different types of data sources Xwithin one process through suitable ODBC drivers. X XiODBC is freely redistributable under either the GNU Library General Public XLicence (LGPL) or the BSD licence. X XAuthors: <iodbc@openlinksw.com> XWWW: http://www.iodbc.org/ END-of-libiodbc/pkg-descr echo c - libiodbc/files mkdir -p libiodbc/files > /dev/null 2>&1 echo x - libiodbc/files/patch-configure sed 's/^X//' >libiodbc/files/patch-configure << 'END-of-libiodbc/files/patch-configure' X--- configure.orig Mon Jun 11 16:30:50 2001 X+++ configure Tue Oct 2 12:25:50 2001 X@@ -6458,8 +6458,8 @@ X # This can be used to rebuild libtool when needed X LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" X X-# Always use our own libtool. X-LIBTOOL='$(SHELL) $(top_builddir)/libtool' X+# Always use FreeBSD's libtool port. X+LIBTOOL='libtool' X X # Prevent multiple expansion X END-of-libiodbc/files/patch-configure echo x - libiodbc/files/patch-include-sqltypes.h sed 's/^X//' >libiodbc/files/patch-include-sqltypes.h << 'END-of-libiodbc/files/patch-include-sqltypes.h' X*** include/sqltypes.h.orig Fri Sep 5 20:10:07 2003 X--- include/sqltypes.h Fri Mar 5 12:08:21 2004 X*************** X*** 400,418 **** X #endif /* GUID_DEFINED */ X #endif /* ODBCVER >= 0x0350 */ X X- X #if defined(WIN32) X typedef unsigned short SQLWCHAR; X #else X # include <stdlib.h> X X # if defined(_WCHAR_T) || \ X defined(_WCHAR_T_DEFINED) || \ X defined(_WCHAR_T_DECLARED) || \ X! defined(_BSD_WCHAR_T_DEFINED_) X typedef wchar_t SQLWCHAR; X # else X! # error Please make sure your system supports the wchar_t type X # endif X #endif /* WIN32 */ X X--- 400,419 ---- X #endif /* GUID_DEFINED */ X #endif /* ODBCVER >= 0x0350 */ X X #if defined(WIN32) X typedef unsigned short SQLWCHAR; X #else X # include <stdlib.h> X+ # define _BSD_WCHAR_T_ X X # if defined(_WCHAR_T) || \ X defined(_WCHAR_T_DEFINED) || \ X defined(_WCHAR_T_DECLARED) || \ X! defined(_BSD_WCHAR_T_DEFINED_) || \ X! defined(_BSD_WCHAR_T_) X typedef wchar_t SQLWCHAR; X # else X! // # error Please make sure your system supports the wchar_t type X # endif X #endif /* WIN32 */ X END-of-libiodbc/files/patch-include-sqltypes.h echo x - libiodbc/pkg-plist sed 's/^X//' >libiodbc/pkg-plist << 'END-of-libiodbc/pkg-plist' Xbin/iodbc-config Xbin/iodbcadm-gtk Xbin/iodbctest Xetc/libiodbc/odbc.ini.sample Xetc/libiodbc/odbcinst.ini.sample Xinclude/iodbcext.h Xinclude/iodbcinst.h Xinclude/isql.h Xinclude/isqlext.h Xinclude/isqltypes.h Xinclude/sql.h Xinclude/sqlext.h Xinclude/sqltypes.h Xinclude/sqlucode.h Xlib/libdrvproxy.a Xlib/libdrvproxy.so Xlib/libdrvproxy.so.3 Xlib/libiodbc.a Xlib/libiodbc.so Xlib/libiodbc.so.3 Xlib/libiodbcadm.a Xlib/libiodbcadm.so Xlib/libiodbcadm.so.3 Xlib/libiodbcinst.a Xlib/libiodbcinst.so Xlib/libiodbcinst.so.3 Xlib/libodbc.a Xshare/doc/libiodbc/AUTHORS Xshare/doc/libiodbc/COPYING Xshare/doc/libiodbc/ChangeLog Xshare/doc/libiodbc/NEWS Xshare/doc/libiodbc/README Xshare/nls/POSIX Xshare/nls/en_US.US-ASCII X@dirrm share/doc/libiodbc X@dirrm etc/libiodbc END-of-libiodbc/pkg-plist exit --- libiodbc.port.sh ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040310174844.36AF6400F>