Revive libodbc++:

- update to 0.2.3
- set MAINTAINER to myself for some time to catch build errors on bento

A few options and features from original port are missing
(WITH_GUI build, NOPORTDOCS build) but I do not have time for implementing
them correctly.
This commit is contained in:
Max Khon 2004-05-31 21:29:33 +00:00
parent 2de67f6591
commit 43fc33f849
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=110559
7 changed files with 96 additions and 0 deletions

View file

@ -68,6 +68,7 @@
SUBDIR += libgdamm
SUBDIR += libgnomedb
SUBDIR += libiodbc
SUBDIR += libodbc++
SUBDIR += libsdb
SUBDIR += libudbc
SUBDIR += lsdb

View file

@ -0,0 +1,39 @@
# New ports collection makefile for: libodbc++
# Date created: 26 September 2001
# Whom: Johann Visagie <wjv@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= libodbc++
PORTVERSION= 0.2.3
CATEGORIES= databases devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= libodbcxx
MAINTAINER= fjoe@FreeBSD.org
COMMENT= A C++ class library and toolset for ODBC access to data sources
USE_GMAKE= yes
USE_LIBTOOL= yes
USE_GNOME= pkgconfig
INSTALLS_SHLIB= yes
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-isqlxx
# libodbc++ needs an ODBC driver manager to be installed, and it supports
# both iODBC and unixODBC. The following variable may be set at build-time
# to either "iodbc" or "unixodbc", with the latter being the default:
DRIVER_MANAGER?= unixodbc
.if ${DRIVER_MANAGER} == "iodbc"
LIB_DEPENDS= iodbc.3:${PORTSDIR}/databases/libiodbc
CONFIGURE_ARGS+= --with-iodbc=${LOCALBASE}
.else # assume we're using unixODBC
LIB_DEPENDS= odbc.1:${PORTSDIR}/databases/unixODBC
CONFIGURE_ARGS+= --with-odbc=${LOCALBASE}
.endif
PORTDOCS= INSTALL progref
.include <bsd.port.mk>

View file

@ -0,0 +1,2 @@
MD5 (libodbc++-0.2.3.tar.gz) = 92cb6171e5235324c710d89cd271eff9
SIZE (libodbc++-0.2.3.tar.gz) = 450097

View file

@ -0,0 +1,11 @@
--- Makefile.in.orig Thu May 13 04:22:06 2004
+++ Makefile.in Thu May 13 04:22:20 2004
@@ -140,7 +140,7 @@
ACLOCAL_AMFLAGS = -I m4
-pkgconfdir = $(libdir)/pkgconfig
+pkgconfdir = $(prefix)/libdata/pkgconfig
pkgconf_DATA = libodbc++.pc
subdir = .
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4

View file

@ -0,0 +1,10 @@
--- configure.orig Thu May 13 04:19:50 2004
+++ configure Thu May 13 04:19:29 2004
@@ -8007,6 +8007,7 @@
# This can be used to rebuild libtool when needed
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
+$ac_aux_dir/ltconfig $LIBTOOL_DEPS
# Always use our own libtool.
LIBTOOL='$(SHELL) $(top_builddir)/libtool'

View file

@ -0,0 +1,14 @@
Libodbc++ aims to be a complete C++ development environment for data source
(typically SQL database) access. It exists in the form of a class library
and a set of tools. Libodbc++ currently provides a subset of the JDBC 2.0
specification functionality.
Libodbc++ runs on top of ODBC, i.e. it needs to be compiled with support for
an ODBC driver manager. It currently supports either iODBC or unixODBC.
This port allows the user to select which driver manager to use via a
build-time variable definition - see the comments in the Makefile for further
details.
WWW: http://orcane.net/freeodbc++/
-- Johann Visagie <wjv@FreeBSD.org>

View file

@ -0,0 +1,19 @@
bin/isql++
include/odbc++/callablestatement.h
include/odbc++/config.h
include/odbc++/connection.h
include/odbc++/databasemetadata.h
include/odbc++/drivermanager.h
include/odbc++/errorhandler.h
include/odbc++/preparedstatement.h
include/odbc++/resultset.h
include/odbc++/resultsetmetadata.h
include/odbc++/setup.h
include/odbc++/statement.h
include/odbc++/threads.h
include/odbc++/types.h
lib/libodbc++.a
lib/libodbc++.so
lib/libodbc++.so.4
libdata/pkgconfig/libodbc++.pc
@dirrm include/odbc++