diff options
author | jlam <jlam@pkgsrc.org> | 2001-11-06 04:08:33 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2001-11-06 04:08:33 +0000 |
commit | 9586b5668779cc3696503a80cb8b5fe3c3aaeed1 (patch) | |
tree | 15e5bba54578930affc66b9733d9b2e085dd3f34 | |
parent | 823ce591bc3b023a484165e1f7e2897b37349c45 (diff) | |
download | pkgsrc-9586b5668779cc3696503a80cb8b5fe3c3aaeed1.tar.gz |
databases/unixodbc - ODBC 2.x/3.x driver manager
The unixODBC project provides UNIX applications with the same ODBC 3.51
API and facilities available under MS Windows. It provides a Driver Manager
that supports the full ODBC API and performs the ODBC 3 to ODBC 2
translations with UNICODE to ANSI conversion. It also includes a collection
of ODBC drivers including a simple text-based driver, an NNTP driver, a
Postgres driver and others, and a selection of templates and libraries that
to aid in the construction of ODBC drivers. It works with MySQL, Postgres,
StarOffice, Applixware, iHTML, PHP, Perl DBD::ODBC, Paradox 9, and many
other applications and drivers. Connection pooling is also provided to
increase performance with applications such as PHP.
-rw-r--r-- | databases/unixodbc/DEINSTALL | 100 | ||||
-rw-r--r-- | databases/unixodbc/DESCR | 10 | ||||
-rw-r--r-- | databases/unixodbc/INSTALL | 62 | ||||
-rw-r--r-- | databases/unixodbc/Makefile | 53 | ||||
-rw-r--r-- | databases/unixodbc/Makefile.common | 65 | ||||
-rw-r--r-- | databases/unixodbc/PLIST | 127 | ||||
-rw-r--r-- | databases/unixodbc/buildlink.mk | 49 | ||||
-rw-r--r-- | databases/unixodbc/distinfo | 5 | ||||
-rw-r--r-- | databases/unixodbc/files/odbcinst.ini.in | 6 | ||||
-rw-r--r-- | databases/unixodbc/patches/patch-aa | 13 |
10 files changed, 490 insertions, 0 deletions
diff --git a/databases/unixodbc/DEINSTALL b/databases/unixodbc/DEINSTALL new file mode 100644 index 00000000000..f12ac349993 --- /dev/null +++ b/databases/unixodbc/DEINSTALL @@ -0,0 +1,100 @@ +#!/bin/sh +# +# $NetBSD: DEINSTALL,v 1.1.1.1 2001/11/06 04:08:33 jlam Exp $ + +PKGNAME=$1 +STAGE=$2 + +CAT="@CAT@" +CMP="@CMP@" +ECHO="@ECHO@" +RM="@RM@" +RMDIR="@RMDIR@" +TR="@TR@" +TRUE="@TRUE@" + +SAMPLECONFDIR=${PKG_PREFIX}/share/examples/@PKGBASE@ +CONFDIR=/etc + +CONFFILES=" \ + ${SAMPLECONFDIR}/odbcinst.ini ${CONFDIR}/odbcinst.ini : \ + /dev/null ${CONFDIR}/odbc.ini \ + " + +case ${STAGE} in +DEINSTALL) + # Remove configuration files if they don't differ from the default + # config file. + # + ${ECHO} ${CONFFILES} | ${TR} ":" "\012" | while read SAMPLEFILE FILE + do + if ${CMP} -s ${FILE} ${SAMPLEFILE} + then + ${RM} -f ${FILE} + fi + done + ;; + +POST-DEINSTALL) + modified_files='' + for FILE in ${CONFFILES} + do + if [ -f ${FILE} ] + then + modified_files="${modified_files} ${FILE}" + fi + done + + ${RMDIR} ${CONFDIR}/ODBCDataSources 2>/dev/null || ${TRUE} + + existing_dirs='' + for dir in ${CONFDIR}/ODBCDataSources + do + if [ -d ${dir} ] + then + existing_dirs="${existing_dirs} ${dir}" + fi + done + + if [ -n "${modified_files}" -o -n "${existing_dirs}" ] + then + ${CAT} << EOF +=========================================================================== +If you won't be using ${PKGNAME} any longer, you may want to remove: +EOF + if [ -n "${modified_files}" ] + then + ${CAT} << EOF + + * the following files: + +EOF + for file in ${modified_files} + do + ${ECHO} " ${file}" + done + fi + if [ -n "${existing_dirs}" ] + then + ${CAT} << EOF + + * the following directories: + +EOF + for dir in ${existing_dirs} + do + ${ECHO} " ${dir}" + done + fi + ${CAT} << EOF +=========================================================================== +EOF + fi + ;; + +*) + ${ECHO} "Unexpected argument: ${STAGE}" + exit 1 + ;; +esac +exit 0 diff --git a/databases/unixodbc/DESCR b/databases/unixodbc/DESCR new file mode 100644 index 00000000000..944cdfd186b --- /dev/null +++ b/databases/unixodbc/DESCR @@ -0,0 +1,10 @@ +The unixODBC project provides UNIX applications with the same ODBC 3.51 +API and facilities available under MS Windows. It provides a Driver Manager +that supports the full ODBC API and performs the ODBC 3 to ODBC 2 +translations with UNICODE to ANSI conversion. It also includes a collection +of ODBC drivers including a simple text-based driver, an NNTP driver, a +Postgres driver and others, and a selection of templates and libraries that +to aid in the construction of ODBC drivers. It works with MySQL, Postgres, +StarOffice, Applixware, iHTML, PHP, Perl DBD::ODBC, Paradox 9, and many +other applications and drivers. Connection pooling is also provided to +increase performance with applications such as PHP. diff --git a/databases/unixodbc/INSTALL b/databases/unixodbc/INSTALL new file mode 100644 index 00000000000..e2ede9bceca --- /dev/null +++ b/databases/unixodbc/INSTALL @@ -0,0 +1,62 @@ +#! /bin/sh +# +# $NetBSD: INSTALL,v 1.1.1.1 2001/11/06 04:08:33 jlam Exp $ + +PKGNAME=$1 +STAGE=$2 + +CAT="@CAT@" +CHMOD="@CHMOD@" +CP="@CP@" +ECHO="@ECHO@" +MKDIR="@MKDIR@" +TR="@TR@" + +SAMPLECONFDIR=${PKG_PREFIX}/share/examples/@PKGBASE@ +CONFDIR=/etc + +CONFFILES=" \ + ${SAMPLECONFDIR}/odbcinst.ini ${CONFDIR}/odbcinst.ini : \ + /dev/null ${CONFDIR}/odbc.ini \ + " + +case ${STAGE} in +PRE-INSTALL) + ;; + +POST-INSTALL) + ${MKDIR} ${CONFDIR}/ODBCDataSources + + ${ECHO} "Installing configuration files:" + ${ECHO} ${CONFFILES} | ${TR} ":" "\012" | while read SAMPLEFILE FILE + do + if [ -f ${FILE} ] + then + ${ECHO} " ${FILE} already exists" + else + ${ECHO} " ${FILE}" + ${CP} ${SAMPLEFILE} ${FILE} + ${CHMOD} 644 ${FILE} + fi + done + ${CAT} << EOF + +=========================================================================== +You may wish to customize the following files: + +EOF + ${ECHO} ${CONFFILES} | ${TR} ":" "\012" | while read SAMPLEFILE FILE + do + ${ECHO} " ${FILE}" + done + ${CAT} << EOF +=========================================================================== +EOF + ;; + +*) + ${ECHO} "Unexpected argument: ${STAGE}" + exit 1 + ;; +esac +exit 0 diff --git a/databases/unixodbc/Makefile b/databases/unixodbc/Makefile new file mode 100644 index 00000000000..359db49ab39 --- /dev/null +++ b/databases/unixodbc/Makefile @@ -0,0 +1,53 @@ +# $NetBSD: Makefile,v 1.1.1.1 2001/11/06 04:08:33 jlam Exp $ + +PKGNAME= unixodbc-${ODBC_VERS} +ODBC_PKG_VERS= # empty +COMMENT= ODBC 2.x/3.x driver manager + +CONFLICTS+= iodbc-[0-9]* +USE_BUILDLINK_ONLY= YES + +.include "../../databases/unixodbc/Makefile.common" + +CONFIGURE_ARGS+= --disable-gui + +EGDIR= ${PREFIX}/share/examples/${PKGBASE} + +DEINSTALL_FILE= ${WRKDIR}/DEINSTALL +INSTALL_FILE= ${WRKDIR}/INSTALL + +PLIST_SUBST+= PKGBASE=${PKGBASE} +PLIST_SUBST+= UNIXODBC_DRIVERS_DIR=${UNIXODBC_DRIVERS_DIR} + +FILES_SUBST+= PKGBASE=${PKGBASE} +FILES_SUBST+= UNIXODBC_DRIVERS_DIR=${UNIXODBC_DRIVERS_DIR} +FILES_SUBST+= PREFIX=${PREFIX} +FILES_SUBST+= PKGBASE=${PKGBASE} +FILES_SUBST+= CAT=${CAT:Q} +FILES_SUBST+= CHMOD=${CHMOD:Q} +FILES_SUBST+= CMP=${CMP:Q} +FILES_SUBST+= CP=${CP:Q} +FILES_SUBST+= ECHO=${ECHO:Q} +FILES_SUBST+= MKDIR=${MKDIR:Q} +FILES_SUBST+= RM=${RM:Q} +FILES_SUBST+= RMDIR=${RMDIR:Q} +FILES_SUBST+= TR=${TR:Q} +FILES_SUBST+= TRUE=${TRUE:Q} +FILES_SUBST_SED= ${FILES_SUBST:S/=/@!/:S/$/!g/:S/^/ -e s!@/} + +post-patch: fix-driver-installation + +pre-install: + ${SED} ${FILES_SUBST_SED} ${FILESDIR}/odbcinst.ini.in \ + > ${WRKDIR}/odbcinst.ini + ${SED} ${FILES_SUBST_SED} ${PKGDIR}/DEINSTALL > ${DEINSTALL_FILE} + ${SED} ${FILES_SUBST_SED} ${PKGDIR}/INSTALL > ${INSTALL_FILE} + PKG_PREFIX=${PREFIX} ${SH} ${INSTALL_FILE} ${PKGNAME} PRE-INSTALL + +post-install: + ${INSTALL_DATA_DIR} ${EGDIR} + ${INSTALL_DATA} ${WRKDIR}/odbcinst.ini ${EGDIR}/odbcinst.ini + PKG_PREFIX=${PREFIX} ${SH} ${INSTALL_FILE} ${PKGNAME} POST-INSTALL + +.include "../../devel/readline/buildlink.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/databases/unixodbc/Makefile.common b/databases/unixodbc/Makefile.common new file mode 100644 index 00000000000..72be4dd2b1b --- /dev/null +++ b/databases/unixodbc/Makefile.common @@ -0,0 +1,65 @@ +# $NetBSD: Makefile.common,v 1.1.1.1 2001/11/06 04:08:34 jlam Exp $ + +DISTNAME= unixODBC-${ODBC_DIST_VERS} +CATEGORIES= databases +MASTER_SITES= http://www.unixodbc.org/ + +MAINTAINER?= jlam@netbsd.org +HOMEPAGE?= http://www.unixodbc.org/ + +# Version numbering scheme: +# +# ODBC_DIST_VERS version number on the php distfile +# ODBC_BASE_VERS pkgsrc-mangled version number (convert pl -> .) +# ODBC_PKG_VERS pkgsrc revisions of php (nbX, etc.) +# ODBC_VERS pkgsrc version number of package +# +ODBC_DIST_VERS= 2.0.11 +ODBC_BASE_VERS= ${ODBC_DIST_VERS} +ODBC_PKG_VERS?= # empty +ODBC_VERS= ${ODBC_BASE_VERS}${ODBC_PKG_VERS} + +USE_LIBTOOL= YES +LIBTOOL_OVERRIDE= ${WRKSRC}/libtool + +GNU_CONFIGURE= YES +CONFIGURE_ARGS+= --sysconfdir=/etc +CONFIGURE_ARGS+= --enable-threads +CONFIGURE_ARGS+= --enable-gnuthreads +CONFIGURE_ARGS+= --with-pth=${BUILDLINK_DIR} + +# Override the local definitions that point to the self-contained libtool +# convenience library. We want the one installed by pkgsrc. Also override +# the variable pointing to the (static) libfl.a, which won't link with a +# shared library. The sources define all the relevant symbols (yywrap), so +# libfl.a isn't needed. +# +MAKE_FLAGS+= LIBLTDL="-lltdl" +MAKE_FLAGS+= INCLTDL="-I${BUILDLINK_DIR}/include" +MAKE_FLAGS+= LEXLIB="" + +UNIXODBC_DRIVERS_DIR= lib/unixodbc + +post-patch: fix-ltdl-and-lexlib + +fix-driver-installation: + cd ${WRKSRC}; \ + files=`${FIND} ODBCConfig DRVConfig Drivers -name Makefile.in`; \ + for file in $${files}; do \ + ${SED} -e "s|^\(libdir =\).*|\1 ${PREFIX}/${UNIXODBC_DRIVERS_DIR}|g" \ + $${file} >> $${file}.fixed; \ + ${MV} -f $${file}.fixed $${file}; \ + done + +fix-ltdl-and-lexlib: + cd ${WRKSRC}; \ + files=`${FIND} . -name Makefile.in`; \ + for file in $${files}; do \ + ${SED} -e "/DEPENDENCIES/s|\$$(LIBLTDL)||g" \ + -e "/LIBADD/s|@LEXLIB@|\$$(LEXLIB)|g" \ + $${file} >> $${file}.fixed; \ + ${MV} -f $${file}.fixed $${file}; \ + done + +.include "../../devel/libtool/buildlink.mk" +.include "../../devel/pth/buildlink.mk" diff --git a/databases/unixodbc/PLIST b/databases/unixodbc/PLIST new file mode 100644 index 00000000000..f203413c70f --- /dev/null +++ b/databases/unixodbc/PLIST @@ -0,0 +1,127 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2001/11/06 04:08:33 jlam Exp $ +bin/dltest +bin/isql +bin/odbcinst +include/autotest.h +include/odbcinst.h +include/odbcinstext.h +include/sql.h +include/sqlext.h +include/sqltypes.h +include/sqlucode.h +include/uodbc_stats.h +lib/libboundparam.a +lib/libboundparam.la +lib/libboundparam.so +lib/libboundparam.so.1 +lib/libboundparam.so.1.0 +lib/libgtrtst.a +lib/libgtrtst.la +lib/libgtrtst.so +lib/libgtrtst.so.1 +lib/libgtrtst.so.1.0 +lib/libodbc.a +lib/libodbc.la +lib/libodbc.so +lib/libodbc.so.1 +lib/libodbc.so.1.0 +lib/libodbccr.a +lib/libodbccr.la +lib/libodbccr.so +lib/libodbccr.so.1 +lib/libodbccr.so.1.0 +lib/libodbcextras.a +lib/libodbcextras.la +lib/libodbcextras.so +lib/libodbcextras.so.1 +lib/libodbcextras.so.1.0 +lib/libodbcinst.a +lib/libodbcinst.la +lib/libodbcinst.so +lib/libodbcinst.so.1 +lib/libodbcinst.so.1.0 +${UNIXODBC_DRIVERS_DIR}/libesoobS.a +${UNIXODBC_DRIVERS_DIR}/libesoobS.la +${UNIXODBC_DRIVERS_DIR}/libesoobS.so +${UNIXODBC_DRIVERS_DIR}/libesoobS.so.1 +${UNIXODBC_DRIVERS_DIR}/libesoobS.so.1.0 +${UNIXODBC_DRIVERS_DIR}/libnn.a +${UNIXODBC_DRIVERS_DIR}/libnn.la +${UNIXODBC_DRIVERS_DIR}/libnn.so +${UNIXODBC_DRIVERS_DIR}/libnn.so.1 +${UNIXODBC_DRIVERS_DIR}/libnn.so.1.0 +${UNIXODBC_DRIVERS_DIR}/libodbcdrvcfg1S.a +${UNIXODBC_DRIVERS_DIR}/libodbcdrvcfg1S.la +${UNIXODBC_DRIVERS_DIR}/libodbcdrvcfg1S.so +${UNIXODBC_DRIVERS_DIR}/libodbcdrvcfg1S.so.1 +${UNIXODBC_DRIVERS_DIR}/libodbcdrvcfg1S.so.1.0 +${UNIXODBC_DRIVERS_DIR}/libodbcdrvcfg2S.a +${UNIXODBC_DRIVERS_DIR}/libodbcdrvcfg2S.la +${UNIXODBC_DRIVERS_DIR}/libodbcdrvcfg2S.so +${UNIXODBC_DRIVERS_DIR}/libodbcdrvcfg2S.so.1 +${UNIXODBC_DRIVERS_DIR}/libodbcdrvcfg2S.so.1.0 +${UNIXODBC_DRIVERS_DIR}/libodbcminiS.a +${UNIXODBC_DRIVERS_DIR}/libodbcminiS.la +${UNIXODBC_DRIVERS_DIR}/libodbcminiS.so +${UNIXODBC_DRIVERS_DIR}/libodbcminiS.so.1 +${UNIXODBC_DRIVERS_DIR}/libodbcminiS.so.1.0 +${UNIXODBC_DRIVERS_DIR}/libodbcmyS.a +${UNIXODBC_DRIVERS_DIR}/libodbcmyS.la +${UNIXODBC_DRIVERS_DIR}/libodbcmyS.so +${UNIXODBC_DRIVERS_DIR}/libodbcmyS.so.1 +${UNIXODBC_DRIVERS_DIR}/libodbcmyS.so.1.0 +${UNIXODBC_DRIVERS_DIR}/libodbcnnS.a +${UNIXODBC_DRIVERS_DIR}/libodbcnnS.la +${UNIXODBC_DRIVERS_DIR}/libodbcnnS.so +${UNIXODBC_DRIVERS_DIR}/libodbcnnS.so.1 +${UNIXODBC_DRIVERS_DIR}/libodbcnnS.so.1.0 +${UNIXODBC_DRIVERS_DIR}/libodbcpsql.a +${UNIXODBC_DRIVERS_DIR}/libodbcpsql.la +${UNIXODBC_DRIVERS_DIR}/libodbcpsql.so +${UNIXODBC_DRIVERS_DIR}/libodbcpsql.so.1 +${UNIXODBC_DRIVERS_DIR}/libodbcpsql.so.1.0 +${UNIXODBC_DRIVERS_DIR}/libodbcpsql.so.2 +${UNIXODBC_DRIVERS_DIR}/libodbcpsql.so.2.0 +${UNIXODBC_DRIVERS_DIR}/libodbcpsqlS.a +${UNIXODBC_DRIVERS_DIR}/libodbcpsqlS.la +${UNIXODBC_DRIVERS_DIR}/libodbcpsqlS.so +${UNIXODBC_DRIVERS_DIR}/libodbcpsqlS.so.1 +${UNIXODBC_DRIVERS_DIR}/libodbcpsqlS.so.1.0 +${UNIXODBC_DRIVERS_DIR}/libodbctxt.a +${UNIXODBC_DRIVERS_DIR}/libodbctxt.la +${UNIXODBC_DRIVERS_DIR}/libodbctxt.so +${UNIXODBC_DRIVERS_DIR}/libodbctxt.so.1 +${UNIXODBC_DRIVERS_DIR}/libodbctxt.so.1.0 +${UNIXODBC_DRIVERS_DIR}/libodbctxtS.a +${UNIXODBC_DRIVERS_DIR}/libodbctxtS.la +${UNIXODBC_DRIVERS_DIR}/libodbctxtS.so +${UNIXODBC_DRIVERS_DIR}/libodbctxtS.so.1 +${UNIXODBC_DRIVERS_DIR}/libodbctxtS.so.1.0 +${UNIXODBC_DRIVERS_DIR}/liboplodbcS.a +${UNIXODBC_DRIVERS_DIR}/liboplodbcS.la +${UNIXODBC_DRIVERS_DIR}/liboplodbcS.so +${UNIXODBC_DRIVERS_DIR}/liboplodbcS.so.1 +${UNIXODBC_DRIVERS_DIR}/liboplodbcS.so.1.0 +${UNIXODBC_DRIVERS_DIR}/liboraodbcS.a +${UNIXODBC_DRIVERS_DIR}/liboraodbcS.la +${UNIXODBC_DRIVERS_DIR}/liboraodbcS.so +${UNIXODBC_DRIVERS_DIR}/liboraodbcS.so.1 +${UNIXODBC_DRIVERS_DIR}/liboraodbcS.so.1.0 +${UNIXODBC_DRIVERS_DIR}/libsapdbS.a +${UNIXODBC_DRIVERS_DIR}/libsapdbS.la +${UNIXODBC_DRIVERS_DIR}/libsapdbS.so +${UNIXODBC_DRIVERS_DIR}/libsapdbS.so.1 +${UNIXODBC_DRIVERS_DIR}/libsapdbS.so.1.0 +${UNIXODBC_DRIVERS_DIR}/libtdsS.a +${UNIXODBC_DRIVERS_DIR}/libtdsS.la +${UNIXODBC_DRIVERS_DIR}/libtdsS.so +${UNIXODBC_DRIVERS_DIR}/libtdsS.so.1 +${UNIXODBC_DRIVERS_DIR}/libtdsS.so.1.0 +${UNIXODBC_DRIVERS_DIR}/libtemplate.a +${UNIXODBC_DRIVERS_DIR}/libtemplate.la +${UNIXODBC_DRIVERS_DIR}/libtemplate.so +${UNIXODBC_DRIVERS_DIR}/libtemplate.so.1 +${UNIXODBC_DRIVERS_DIR}/libtemplate.so.1.0 +share/examples/${PKGBASE}/odbcinst.ini +@dirrm share/examples/${PKGBASE} +@dirrm ${UNIXODBC_DRIVERS_DIR} diff --git a/databases/unixodbc/buildlink.mk b/databases/unixodbc/buildlink.mk new file mode 100644 index 00000000000..b1032cfecc6 --- /dev/null +++ b/databases/unixodbc/buildlink.mk @@ -0,0 +1,49 @@ +# $NetBSD: buildlink.mk,v 1.1.1.1 2001/11/06 04:08:34 jlam Exp $ +# +# This Makefile fragment is included by packages that use unixodbc. +# +# To use this Makefile fragment, simply: +# +# (1) Optionally define BUILDLINK_DEPENDS.unixodbc to the dependency pattern +# for the version of unixodbc desired. +# (2) Include this Makefile fragment in the package Makefile, +# (3) Add ${BUILDLINK_DIR}/include to the front of the C preprocessor's header +# search path, and +# (4) Add ${BUILDLINK_DIR}/lib to the front of the linker's library search +# path. + +.if !defined(UNIXODBC_BUILDLINK_MK) +UNIXODBC_BUILDLINK_MK= # defined + +.include "../../mk/bsd.buildlink.mk" + +BUILDLINK_DEPENDS.unixodbc?= unixodbc>=2.0.11 +DEPENDS+= ${BUILDLINK_DEPENDS.unixodbc}:../../databases/unixodbc + +EVAL_PREFIX+= BUILDLINK_PREFIX.unixodbc=unixodbc +BUILDLINK_PREFIX.unixodbc_DEFAULT= ${LOCALBASE} +BUILDLINK_FILES.unixodbc= include/autotest.h +BUILDLINK_FILES.unixodbc+= include/odbcinst.h +BUILDLINK_FILES.unixodbc+= include/odbcinstext.h +BUILDLINK_FILES.unixodbc+= include/sql.h +BUILDLINK_FILES.unixodbc+= include/sqlext.h +BUILDLINK_FILES.unixodbc+= include/sqltypes.h +BUILDLINK_FILES.unixodbc+= include/sqlucode.h +BUILDLINK_FILES.unixodbc+= include/uodbc_stats.h +BUILDLINK_FILES.unixodbc+= lib/libboundparam.* +BUILDLINK_FILES.unixodbc+= lib/libgtrtst.* +BUILDLINK_FILES.unixodbc+= lib/libodbc.* +BUILDLINK_FILES.unixodbc+= lib/libodbccr.* +BUILDLINK_FILES.unixodbc+= lib/libodbcextras.* +BUILDLINK_FILES.unixodbc+= lib/libodbcinst.* + +.include "../../devel/libtool/buildlink.mk" +.include "../../devel/pth/buildlink.mk" + +BUILDLINK_TARGETS.unixodbc= unixodbc-buildlink +BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.unixodbc} + +pre-configure: ${BUILDLINK_TARGETS.unixodbc} +unixodbc-buildlink: _BUILDLINK_USE + +.endif # UNIXODBC_BUILDLINK_MK diff --git a/databases/unixodbc/distinfo b/databases/unixodbc/distinfo new file mode 100644 index 00000000000..e673339a9df --- /dev/null +++ b/databases/unixodbc/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2001/11/06 04:08:33 jlam Exp $ + +SHA1 (unixODBC-2.0.11.tar.gz) = 8bfc4d03b8284ada319c5203352ec42c862cd34c +Size (unixODBC-2.0.11.tar.gz) = 1734287 bytes +SHA1 (patch-aa) = 082138af760a8ba572da5f9a32fb7865a1ed7823 diff --git a/databases/unixodbc/files/odbcinst.ini.in b/databases/unixodbc/files/odbcinst.ini.in new file mode 100644 index 00000000000..a350d159966 --- /dev/null +++ b/databases/unixodbc/files/odbcinst.ini.in @@ -0,0 +1,6 @@ +[TXT] +Description = Text file driver +Driver = @PREFIX@/@UNIXODBC_DRIVERS_DIR@/libodbctxt.so +Setup = @PREFIX@/@UNIXODBC_DRIVERS_DIR@/libodbctxtS.so +FileUsage = 1 + diff --git a/databases/unixodbc/patches/patch-aa b/databases/unixodbc/patches/patch-aa new file mode 100644 index 00000000000..6909527c33f --- /dev/null +++ b/databases/unixodbc/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1.1.1 2001/11/06 04:08:34 jlam Exp $ + +--- Makefile.in.orig Mon Nov 5 01:26:27 2001 ++++ Makefile.in +@@ -384,7 +384,7 @@ + install-data: install-data-recursive + + install-am: all-am +- @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am ++ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am + install: install-recursive + uninstall-am: + uninstall: uninstall-recursive |