summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2005-07-02 20:55:03 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2005-07-02 20:55:03 +0000
commitabcd496bf5fe39033941124ef50b2fd55f7d6fd8 (patch)
treee1ae03aaafc553901cd692878c5a133735d66f66 /dev-db/libodbc++
parentStable on alpha. (diff)
downloadhistorical-abcd496bf5fe39033941124ef50b2fd55f7d6fd8.tar.gz
historical-abcd496bf5fe39033941124ef50b2fd55f7d6fd8.tar.bz2
historical-abcd496bf5fe39033941124ef50b2fd55f7d6fd8.zip
Fix bug #97081, and also a lingering unnoticed bug that isql++ was not always built. ccache is highly recommended now due to the braindead build method that upstream uses.
Package-Manager: portage-2.0.51.22-r1
Diffstat (limited to 'dev-db/libodbc++')
-rw-r--r--dev-db/libodbc++/ChangeLog10
-rw-r--r--dev-db/libodbc++/Manifest4
-rw-r--r--dev-db/libodbc++/files/digest-libodbc++-0.2.3-r11
-rw-r--r--dev-db/libodbc++/libodbc++-0.2.3-r1.ebuild65
4 files changed, 78 insertions, 2 deletions
diff --git a/dev-db/libodbc++/ChangeLog b/dev-db/libodbc++/ChangeLog
index 9bbd73d55ae1..9a8bdde593d2 100644
--- a/dev-db/libodbc++/ChangeLog
+++ b/dev-db/libodbc++/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for dev-db/libodbc++
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/libodbc++/ChangeLog,v 1.4 2005/01/01 17:35:37 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/libodbc++/ChangeLog,v 1.5 2005/07/02 20:55:03 robbat2 Exp $
+
+*libodbc++-0.2.3-r1 (02 Jul 2005)
+
+ 02 Jul 2005; Robin H. Johnson <robbat2@gentoo.org>
+ +libodbc++-0.2.3-r1.ebuild:
+ Fix bug #97081, and also a lingering unnoticed bug that isql++ was not always
+ built. ccache is highly recommended now due to the braindead build method
+ that upstream uses.
29 Jun 2004; Aron Griffis <agriffis@gentoo.org> libodbc++-0.2.3.ebuild:
sync IUSE (+qt)
diff --git a/dev-db/libodbc++/Manifest b/dev-db/libodbc++/Manifest
index 44f07cdec409..1ed3b46a37cd 100644
--- a/dev-db/libodbc++/Manifest
+++ b/dev-db/libodbc++/Manifest
@@ -1,4 +1,6 @@
-MD5 0db3c7b28c96a400ef623565712d70c3 ChangeLog 517
+MD5 f1d669f0715bb24791f15c96b9413849 libodbc++-0.2.3-r1.ebuild 1994
MD5 c0d850ab79376dbc9aef722e2f88b242 libodbc++-0.2.3.ebuild 1393
+MD5 d183dd60f010d5e6db014b14eeef1a6e ChangeLog 812
MD5 21cd68602737d7c996bceabf6e62c468 metadata.xml 223
MD5 76859551271b481b467298625eca2fbf files/digest-libodbc++-0.2.3 67
+MD5 76859551271b481b467298625eca2fbf files/digest-libodbc++-0.2.3-r1 67
diff --git a/dev-db/libodbc++/files/digest-libodbc++-0.2.3-r1 b/dev-db/libodbc++/files/digest-libodbc++-0.2.3-r1
new file mode 100644
index 000000000000..424216231d25
--- /dev/null
+++ b/dev-db/libodbc++/files/digest-libodbc++-0.2.3-r1
@@ -0,0 +1 @@
+MD5 92cb6171e5235324c710d89cd271eff9 libodbc++-0.2.3.tar.gz 450097
diff --git a/dev-db/libodbc++/libodbc++-0.2.3-r1.ebuild b/dev-db/libodbc++/libodbc++-0.2.3-r1.ebuild
new file mode 100644
index 000000000000..6f2026bdcecb
--- /dev/null
+++ b/dev-db/libodbc++/libodbc++-0.2.3-r1.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/libodbc++/libodbc++-0.2.3-r1.ebuild,v 1.1 2005/07/02 20:55:03 robbat2 Exp $
+
+DESCRIPTION="Libodbc++ is a c++ class library that provides a subset of the well-known JDBC 2.0(tm) and runs on top of ODBC."
+SRC_URI="mirror://sourceforge/libodbcxx/${P}.tar.gz"
+HOMEPAGE="http://libodbcxx.sourceforge.net/"
+LICENSE="LGPL-2.1"
+DEPEND="dev-db/unixODBC
+ sys-libs/libtermcap-compat"
+KEYWORDS="~x86 ~ppc ~hppa ~alpha ~amd64"
+IUSE="qt"
+SLOT=0
+
+SB="${S}-build"
+SB_MT="${S}-build-mt"
+SB_QT="${S}-build_qt"
+SB_QT_MT="${S}-build_qt-mt"
+
+src_compile() {
+ local commonconf
+ commonconf="--with-odbc=/usr --without-tests"
+ commonconf="${commonconf} --enable-static --enable-shared"
+ # " --enable-threads"
+ if ! has ccache FEATURES; then
+ einfo "ccache would really help you compiling this package..."
+ fi
+
+ export ECONF_SOURCE="${S}"
+ append-flags -DODBCXX_DISABLE_READLINE_HACK
+
+ buildlist="${SB} ${SB_MT}"
+ use qt && buildlist="${buildlist} $SB_QT $SB_QT_MT"
+
+ for sd in ${buildlist}; do
+ mkdir -p "${sd}"
+ cd "${sd}"
+ commonconf2=''
+ LIBS=''
+ [ "${sd}" == "${SB_MT}" -o "${sd}" == "${SB_QT_MT}" ] && commonconf2="${commonconf2} --enable-threads"
+ [ "${sd}" == "${SB_QT}" -o "${sd}" == "${SB_QT_MT}" ] && commonconf2="${commonconf2} --with-qt"
+ [ "${sd}" == "${SB}" ] && commonconf2="${commonconf2} --with-isqlxx"
+ [ "${sd}" == "${SB_QT}" ] && commonconf2="${commonconf2} --with-qtsqlxx"
+ export LIBS
+ # using without-qt breaks the build
+ #--without-qt \
+ econf \
+ ${commonconf} \
+ ${commonconf2} \
+ || die "econf failed"
+ emake || die "emake failed"
+ done
+}
+
+src_install () {
+ cd ${S}
+ dodoc AUTHORS BUGS ChangeLog COPYING INSTALL NEWS README THANKS TODO
+
+ buildlist="${SB} ${SB_MT}"
+ use qt && buildlist="${buildlist} $SB_QT $SB_QT_MT"
+ for sd in ${buildlist}; do
+ cd ${sd}
+ make DESTDIR=${D} install || die "make install failed"
+ done
+}