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
commit9f3e5caf52d2844b44fabfb10dd7325a9e6119e4 (patch)
tree55bd7b77890d8a58f54be91a814742773b30ddb0 /dev-db/libodbc++
parentStable on alpha. (diff)
downloadgentoo-2-9f3e5caf52d2844b44fabfb10dd7325a9e6119e4.tar.gz
gentoo-2-9f3e5caf52d2844b44fabfb10dd7325a9e6119e4.tar.bz2
gentoo-2-9f3e5caf52d2844b44fabfb10dd7325a9e6119e4.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.
(Portage version: 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..5db4a62a9028 100644
--- a/dev-db/libodbc++/Manifest
+++ b/dev-db/libodbc++/Manifest
@@ -1,4 +1,6 @@
+MD5 be9c8b2dddeb647d2bf9d746e0994224 libodbc++-0.2.3-r1.ebuild 2027
+MD5 cc353ac1a21006b3464df5478dffcfab libodbc++-0.2.3.ebuild 1394
MD5 0db3c7b28c96a400ef623565712d70c3 ChangeLog 517
-MD5 c0d850ab79376dbc9aef722e2f88b242 libodbc++-0.2.3.ebuild 1393
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
+}