summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-09-07 23:02:42 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-09-07 23:02:42 +0000
commit259937cee16e717a123724aeb8d9820eb274d905 (patch)
treee1dc4a7d7baec995b6888b9ab76d916ef332dc0c /dev-db/sqliteodbc
parentRename "sqlite3" USE flag to "sqlite" (bug #251401). (diff)
downloadgentoo-2-259937cee16e717a123724aeb8d9820eb274d905.tar.gz
gentoo-2-259937cee16e717a123724aeb8d9820eb274d905.tar.bz2
gentoo-2-259937cee16e717a123724aeb8d9820eb274d905.zip
Version bump. Respect CC and LDFLAGS.
(Portage version: 14212-svn/cvs/Linux x86_64)
Diffstat (limited to 'dev-db/sqliteodbc')
-rw-r--r--dev-db/sqliteodbc/ChangeLog8
-rw-r--r--dev-db/sqliteodbc/files/sqliteodbc-0.83-respect_LDFLAGS.patch29
-rw-r--r--dev-db/sqliteodbc/sqliteodbc-0.83.ebuild37
3 files changed, 73 insertions, 1 deletions
diff --git a/dev-db/sqliteodbc/ChangeLog b/dev-db/sqliteodbc/ChangeLog
index 7d35838209fa..b5eb698a96c1 100644
--- a/dev-db/sqliteodbc/ChangeLog
+++ b/dev-db/sqliteodbc/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-db/sqliteodbc
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/sqliteodbc/ChangeLog,v 1.12 2009/09/07 22:23:26 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/sqliteodbc/ChangeLog,v 1.13 2009/09/07 23:02:41 arfrever Exp $
+
+*sqliteodbc-0.83 (07 Sep 2009)
+
+ 07 Sep 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ +sqliteodbc-0.83.ebuild, +files/sqliteodbc-0.83-respect_LDFLAGS.patch:
+ Version bump. Respect CC and LDFLAGS.
08 Sep 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
sqliteodbc-0.79.ebuild:
diff --git a/dev-db/sqliteodbc/files/sqliteodbc-0.83-respect_LDFLAGS.patch b/dev-db/sqliteodbc/files/sqliteodbc-0.83-respect_LDFLAGS.patch
new file mode 100644
index 000000000000..e1d591925a73
--- /dev/null
+++ b/dev-db/sqliteodbc/files/sqliteodbc-0.83-respect_LDFLAGS.patch
@@ -0,0 +1,29 @@
+--- Makefile.in
++++ Makefile.in
+@@ -33,22 +33,22 @@
+ all: @LIB_TARGETS@
+
+ libsqliteodbc.la: sqliteodbc.lo
+- $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -o libsqliteodbc.la \
++ $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o libsqliteodbc.la \
+ sqliteodbc.lo -rpath $(libdir) $(SQLITE_LIB) \
+ $(ODBC_LIB) -release $(VER_INFO)
+
+ libsqlite3odbc.la: sqlite3odbc.lo $(SQLITE3_A10N_O)
+- $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -o libsqlite3odbc.la \
++ $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o libsqlite3odbc.la \
+ sqlite3odbc.lo $(SQLITE3_A10N_O) -rpath $(libdir) \
+ $(SQLITE3_LIB) $(ODBC_LIB) -release $(VER_INFO)
+
+ libsqlite3_mod_blobtoxy.la: blobtoxy.lo
+- $(LIBTOOL) --mode=link $(CC) $(CFLAGS) \
++ $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) \
+ -o libsqlite3_mod_blobtoxy.la \
+ blobtoxy.lo -rpath $(libdir) -release $(VER_INFO)
+
+ libsqlite3_mod_impexp.la: impexp.lo
+- $(LIBTOOL) --mode=link $(CC) $(CFLAGS) \
++ $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) \
+ -o libsqlite3_mod_impexp.la \
+ impexp.lo -rpath $(libdir) -release $(VER_INFO)
+
diff --git a/dev-db/sqliteodbc/sqliteodbc-0.83.ebuild b/dev-db/sqliteodbc/sqliteodbc-0.83.ebuild
new file mode 100644
index 000000000000..36af4c42d4a4
--- /dev/null
+++ b/dev-db/sqliteodbc/sqliteodbc-0.83.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/sqliteodbc/sqliteodbc-0.83.ebuild,v 1.1 2009/09/07 23:02:41 arfrever Exp $
+
+EAPI="2"
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="ODBC driver to access local SQLite database files."
+HOMEPAGE="http://www.ch-werner.de/sqliteodbc/"
+SRC_URI="http://www.ch-werner.de/sqliteodbc/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+DEPEND=">=dev-db/sqlite-3.6
+ || (
+ >=dev-db/unixODBC-2.2
+ >=dev-db/libiodbc-3.5
+ )"
+RDEPEND="${DEPEND}"
+
+pkg_setup() {
+ tc-export CC
+}
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-respect_LDFLAGS.patch"
+}
+
+src_install() {
+ dodir "/usr/$(get_libdir)"
+ einstall || die "einstall failed"
+ dodoc ChangeLog README
+}