add multilib aware ebuilds
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@2784 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
225
dev-db/libdbi-drivers/ChangeLog
Normal file
225
dev-db/libdbi-drivers/ChangeLog
Normal file
@@ -0,0 +1,225 @@
|
||||
# ChangeLog for dev-db/libdbi-drivers
|
||||
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/libdbi-drivers/ChangeLog,v 1.51 2010/09/28 17:22:52 robbat2 Exp $
|
||||
|
||||
*libdbi-drivers-0.8.3-r2 (28 Sep 2010)
|
||||
|
||||
28 Sep 2010; Robin H. Johnson <robbat2@gentoo.org>
|
||||
libdbi-drivers-0.8.1-r1.ebuild, libdbi-drivers-0.8.1-r2.ebuild,
|
||||
libdbi-drivers-0.8.3.ebuild, libdbi-drivers-0.8.3-r1.ebuild,
|
||||
+libdbi-drivers-0.8.3-r2.ebuild:
|
||||
Bug #329033: postgres virtual migration converted this to depending on
|
||||
-server instead of -base. Fix up, with a revbump also redoing RDEPEND vs
|
||||
DEPEND.
|
||||
|
||||
17 Jun 2010; Patrick Lauer <patrick@gentoo.org>
|
||||
libdbi-drivers-0.8.1-r1.ebuild, libdbi-drivers-0.8.1-r2.ebuild,
|
||||
libdbi-drivers-0.8.3.ebuild, libdbi-drivers-0.8.3-r1.ebuild:
|
||||
Migrating away from deprecated postgres virtuals
|
||||
|
||||
*libdbi-drivers-0.8.3-r1 (26 Oct 2009)
|
||||
|
||||
26 Oct 2009; Robin H. Johnson <robbat2@gentoo.org>
|
||||
libdbi-drivers-0.8.3.ebuild, +libdbi-drivers-0.8.3-r1.ebuild,
|
||||
+files/libdbi-drivers-0.8.3-firebird-fix.patch,
|
||||
+files/libdbi-drivers-0.8.3-oracle-build-fix.patch:
|
||||
Bug #289519: Fixup for Firebird compile. Bug #256411: Fix for Oracle
|
||||
compile. Bug #254851: USE-default for tinderbox build.
|
||||
|
||||
24 Feb 2009; Raúl Porcel <armin76@gentoo.org>
|
||||
libdbi-drivers-0.8.3.ebuild:
|
||||
arm/s390/sh stable
|
||||
|
||||
07 Feb 2009; Raúl Porcel <armin76@gentoo.org>
|
||||
libdbi-drivers-0.8.3.ebuild:
|
||||
Add ~arm/~s390/~sh
|
||||
|
||||
25 Jan 2009; Markus Meier <maekke@gentoo.org> libdbi-drivers-0.8.3.ebuild:
|
||||
amd64 stable, bug #253663
|
||||
|
||||
25 Jan 2009; Ferris McCormick <fmccor@gentoo.org>
|
||||
libdbi-drivers-0.8.3.ebuild:
|
||||
Sparc stable, related to Bug #256132.
|
||||
|
||||
25 Jan 2009; Brent Baude <ranger@gentoo.org> libdbi-drivers-0.8.3.ebuild:
|
||||
Marking libdbi-drivers-0.8.3 ppc64 for bug 256132
|
||||
|
||||
20 Jan 2009; Alexis Ballier <aballier@gentoo.org>
|
||||
libdbi-drivers-0.8.3.ebuild:
|
||||
keyword ~x86-fbsd
|
||||
|
||||
11 Jan 2009; Markus Meier <maekke@gentoo.org> libdbi-drivers-0.8.3.ebuild:
|
||||
x86 stable, bug #253663
|
||||
|
||||
09 Jan 2009; Brent Baude <ranger@gentoo.org> libdbi-drivers-0.8.3.ebuild:
|
||||
Marking libdbi-drivers-0.8.3 ppc for bug 253663
|
||||
|
||||
05 Jan 2009; Jeroen Roovers <jer@gentoo.org> libdbi-drivers-0.8.3.ebuild:
|
||||
Stable for HPPA (bug #253663).
|
||||
|
||||
16 Dec 2008; Peter Volkov <pva@gentoo.org> libdbi-drivers-0.8.3.ebuild:
|
||||
~mips keyworded for dictd, bug #245413
|
||||
|
||||
01 Dec 2008; Brent Baude <ranger@gentoo.org> libdbi-drivers-0.8.3.ebuild:
|
||||
Marking libdbi-drivers-0.8.3 ~ppc64 for bug 244246
|
||||
|
||||
14 Nov 2008; Raúl Porcel <armin76@gentoo.org>
|
||||
libdbi-drivers-0.8.3.ebuild:
|
||||
ia64 stable wrt #244246
|
||||
|
||||
09 Nov 2008; Tobias Klausmann <klausman@gentoo.org>
|
||||
libdbi-drivers-0.8.3.ebuild:
|
||||
Stable on alpha, bug #244246
|
||||
|
||||
09 Nov 2008; Raúl Porcel <armin76@gentoo.org>
|
||||
libdbi-drivers-0.8.3.ebuild:
|
||||
Add ~alpha/~ia64 wrt #245413
|
||||
|
||||
03 Nov 2008; Ferris McCormick <fmccor@gentoo.org>
|
||||
libdbi-drivers-0.8.1-r2.ebuild:
|
||||
Sparc stable, related to Bug #245413 and to Bug #244246.
|
||||
|
||||
28 Oct 2008; Jeroen Roovers <jer@gentoo.org>
|
||||
libdbi-drivers-0.8.1-r2.ebuild:
|
||||
Stable for HPPA (bug #240974).
|
||||
|
||||
16 Oct 2008; Markus Meier <maekke@gentoo.org>
|
||||
libdbi-drivers-0.8.1-r2.ebuild:
|
||||
amd64/x86 stable, bug #240974
|
||||
|
||||
14 Oct 2008; Robin H. Johnson <robbat2@gentoo.org>
|
||||
libdbi-drivers-0.8.1-r1.ebuild, libdbi-drivers-0.8.1-r2.ebuild,
|
||||
libdbi-drivers-0.8.3.ebuild:
|
||||
Disable interactive tests better.
|
||||
|
||||
12 Oct 2008; nixnut <nixnut@gentoo.org> libdbi-drivers-0.8.1-r2.ebuild:
|
||||
Stable on ppc wrt bug 240974
|
||||
|
||||
10 Oct 2008; Robin H. Johnson <robbat2@gentoo.org>
|
||||
+files/libdbi-drivers-0.8.3-doc-build-fix.patch,
|
||||
libdbi-drivers-0.8.3.ebuild:
|
||||
Make documentation build properly optional instead of dependant on system
|
||||
contents.
|
||||
|
||||
29 Sep 2008; Robin H. Johnson <robbat2@gentoo.org>
|
||||
-libdbi-drivers-0.7.1.ebuild, -libdbi-drivers-0.7.1-r1.ebuild,
|
||||
-libdbi-drivers-0.8.0.ebuild, -libdbi-drivers-0.8.1.ebuild,
|
||||
libdbi-drivers-0.8.1-r1.ebuild:
|
||||
Cleanup old ebuilds and repoman warnings.
|
||||
|
||||
*libdbi-drivers-0.8.3 (29 Sep 2008)
|
||||
|
||||
29 Sep 2008; Robin H. Johnson <robbat2@gentoo.org>
|
||||
+libdbi-drivers-0.8.3.ebuild:
|
||||
Version bump per bug #237993.
|
||||
|
||||
21 May 2008; Tiziano Müller <dev-zero@gentoo.org>
|
||||
libdbi-drivers-0.7.1-r1.ebuild, libdbi-drivers-0.8.0.ebuild,
|
||||
libdbi-drivers-0.8.1.ebuild, libdbi-drivers-0.8.1-r1.ebuild,
|
||||
libdbi-drivers-0.8.1-r2.ebuild:
|
||||
Changed dependency for postgresql from dev-db/postgresql to
|
||||
virtual/postgresql-server
|
||||
|
||||
*libdbi-drivers-0.8.1-r2 (26 Nov 2007)
|
||||
|
||||
26 Nov 2007; Robin H. Johnson <robbat2@gentoo.org>
|
||||
+libdbi-drivers-0.8.1-r2.ebuild:
|
||||
Block USE=firebird when USE=bindist is in play, per bug #200284 for license
|
||||
conflicts.
|
||||
|
||||
20 Jun 2007; Christian Faulhammer <opfer@gentoo.org>
|
||||
libdbi-drivers-0.8.1-r1.ebuild:
|
||||
stable x86, bug 181579
|
||||
|
||||
15 Jun 2007; Christoph Mende <angelos@gentoo.org>
|
||||
libdbi-drivers-0.8.1-r1.ebuild:
|
||||
Stable on amd64 wrt bug 181579
|
||||
|
||||
23 Nov 2006; Francesco Riosa <vivo@gentoo.org>
|
||||
libdbi-drivers-0.7.1-r1.ebuild, libdbi-drivers-0.8.0.ebuild,
|
||||
libdbi-drivers-0.8.1.ebuild, libdbi-drivers-0.8.1-r1.ebuild:
|
||||
dev-db/mysql => virtual/mysql
|
||||
|
||||
17 Sep 2006; Tobias Scherbaum <dertobi123@gentoo.org>
|
||||
libdbi-drivers-0.8.1-r1.ebuild:
|
||||
ppc stable
|
||||
|
||||
16 Sep 2006; Robin H. Johnson <robbat2@gentoo.org>
|
||||
libdbi-drivers-0.8.1-r1.ebuild:
|
||||
Bug #147808, inherit eutils.
|
||||
|
||||
11 Jun 2006; Robin H. Johnson <robbat2@gentoo.org>
|
||||
+files/libdbi-drivers-0.8.1-oci8.diff, libdbi-drivers-0.8.1-r1.ebuild:
|
||||
Bug #134918 - Compile fix for oci8 driver.
|
||||
|
||||
24 Mar 2006; Joseph Jezak <josejx@gentoo.org>
|
||||
libdbi-drivers-0.7.1-r1.ebuild:
|
||||
Marked ppc stable.
|
||||
|
||||
07 Mar 2006; Jeroen Roovers <jer@gentoo.org>
|
||||
libdbi-drivers-0.8.1-r1.ebuild:
|
||||
Stable on hppa.
|
||||
|
||||
*libdbi-drivers-0.8.1-r1 (25 Feb 2006)
|
||||
|
||||
25 Feb 2006; Robin H. Johnson <robbat2@gentoo.org>
|
||||
+libdbi-drivers-0.8.1-r1.ebuild:
|
||||
Bug #104601, sqlite3 support is now controlled by a seperate use flag.
|
||||
|
||||
25 Feb 2006; Robin H. Johnson <robbat2@gentoo.org>
|
||||
libdbi-drivers-0.8.0.ebuild, libdbi-drivers-0.8.1.ebuild:
|
||||
Bug 123943, IUSE cleanup.
|
||||
|
||||
*libdbi-drivers-0.8.1 (16 Feb 2006)
|
||||
|
||||
16 Feb 2006; Karol Wojtaszek <sekretarz@gentoo.org>
|
||||
+libdbi-drivers-0.8.1.ebuild:
|
||||
Version bump
|
||||
|
||||
26 Jan 2006; Patrick McLean <chutzpah@gentoo.org>
|
||||
libdbi-drivers-0.7.1-r1.ebuild:
|
||||
Stable on amd64.
|
||||
|
||||
04 Jan 2006; Jeroen Roovers <jer@gentoo.org> libdbi-drivers-0.8.0.ebuild:
|
||||
Marked ~hppa (bug #105447).
|
||||
|
||||
13 Nov 2005; Jason Wever <weeve@gentoo.org> libdbi-drivers-0.8.0.ebuild:
|
||||
Added ~sparc keyword wrt bug #105447.
|
||||
|
||||
04 Sep 2005; Robin H. Johnson <robbat2@gentoo.org>
|
||||
libdbi-drivers-0.8.0.ebuild:
|
||||
Bug #104601 again. Make libdbi-drivers bring in both slots of sqlite.
|
||||
|
||||
*libdbi-drivers-0.8.0 (03 Sep 2005)
|
||||
|
||||
03 Sep 2005; Robin H. Johnson <robbat2@gentoo.org>
|
||||
+libdbi-drivers-0.8.0.ebuild:
|
||||
Version bump, bug #104601.
|
||||
|
||||
30 Aug 2005; Robin H. Johnson <robbat2@gentoo.org>
|
||||
libdbi-drivers-0.7.1-r1.ebuild:
|
||||
Stable on x86.
|
||||
|
||||
*libdbi-drivers-0.7.1-r1 (27 Mar 2005)
|
||||
|
||||
27 Mar 2005; Robin H. Johnson <robbat2@gentoo.org> +metadata.xml,
|
||||
+libdbi-drivers-0.7.1-r1.ebuild:
|
||||
Bug #86514, fix DEPEND. Also add metadata.
|
||||
|
||||
28 Feb 2005; Christian Parpart <trapni@gentoo.org>
|
||||
libdbi-drivers-0.7.1.ebuild:
|
||||
adding to ~amd64
|
||||
|
||||
26 Apr 2004; Aron Griffis <agriffis@gentoo.org> libdbi-drivers-0.7.1.ebuild:
|
||||
Add die following econf for bug 48950
|
||||
|
||||
25 Mar 2004; David Holm <dholm@gentoo.org> libdbi-drivers-0.7.1.ebuild:
|
||||
Added to ~ppc.
|
||||
|
||||
*libdbi-drivers-0.7.1 (24 Mar 2004)
|
||||
|
||||
24 Mar 2004; Robin H. Johnson <robbat2@gentoo.org>
|
||||
libdbi-drivers-0.7.1.ebuild:
|
||||
Initial commit. Original ebuild submitted by Max <m.e.bruche@lse.ac.uk>. Bug
|
||||
#45153.
|
||||
|
||||
8
dev-db/libdbi-drivers/Manifest
Normal file
8
dev-db/libdbi-drivers/Manifest
Normal file
@@ -0,0 +1,8 @@
|
||||
AUX libdbi-drivers-0.8.1-oci8.diff 695 RMD160 5431c6888dc5b703d91343f4f3d3be6f4e6e1c9d SHA1 68599f1c5d3c9e0c2c970f40574a2f9055dac9dc SHA256 23a2c8819f9f80548f2c933278c844d03dec35e8500883f25ab4b7d5f4b7c523
|
||||
AUX libdbi-drivers-0.8.3-doc-build-fix.patch 566 RMD160 42a6e40d92dd878e66cb2f5087af463d463ab09d SHA1 c3a62be19e77d9bdd253eefb9ee7f8d69f375d95 SHA256 ef18cdb0e5338d29bcdbbf9839bd64283d067bfe3eed3d4af3eb58fa29a316ec
|
||||
AUX libdbi-drivers-0.8.3-firebird-fix.patch 1374 RMD160 d1f668148ef988f48d80d6d25dd7f84b3698d62f SHA1 15c80dd2e6e87dd43e53d20d7939026c0be8c7a2 SHA256 8e94e8dcc9445c887c7f3defdc3ed049d683f539c01d5a5007b158c3c8e0f97c
|
||||
AUX libdbi-drivers-0.8.3-oracle-build-fix.patch 485 RMD160 c8d9e941318a4cbdbcc9ddc5c5f52be5e566b114 SHA1 4c6af4561041e10c5fdb00e21ded55d923cbb84e SHA256 67d088a16f91f77a377eeae1fe8d1fa30540fcf5beb0566d1146fe56cbbd3dec
|
||||
DIST libdbi-drivers-0.8.3-1.tar.gz 1534420 RMD160 e0aa9e67f6560fb44018b1d35d90d4ac21b48597 SHA1 599fbab115419e8fc88b3b31a38031584ee213b5 SHA256 4ab9944398ce769c0deeb64d2f73555c67bc25ccd2ade1ccf552226c7b2acf72
|
||||
EBUILD libdbi-drivers-0.8.3-r2.ebuild 3078 RMD160 eb98283dab0f98a79449f552c8e662b90c18c919 SHA1 6ffa291711389becad53ee5a73d0cd29c3ab5a91 SHA256 ff5db91202a96679aee2e156edcb5a2162144d995f8ba7e7befb6e565178c5fc
|
||||
MISC ChangeLog 7659 RMD160 14f26506e2f94e125c3fc293e9ae165851af864e SHA1 a037a6600ee7c7f6aae3496a2b3cae172c0e7ae8 SHA256 9a4fc9afccc965f6d7831cf640f4c588566ffb0428fd43dd6949aaa668ac98ca
|
||||
MISC metadata.xml 223 RMD160 ffa99612cf27469c417944deed0e0c9155e64331 SHA1 607c637402dd253406aa6ee684471a702c5d1a99 SHA256 d6bb9ba68629616062b4433ab3b8fb01dfcafae5bb47804d9e06cdd6c66daa44
|
||||
20
dev-db/libdbi-drivers/files/libdbi-drivers-0.8.1-oci8.diff
Normal file
20
dev-db/libdbi-drivers/files/libdbi-drivers-0.8.1-oci8.diff
Normal file
@@ -0,0 +1,20 @@
|
||||
--- libdbi-drivers-0.8.1/drivers/oracle/dbd_oracle.c.orig 2005-08-31 23:44:53.000000000 +0200
|
||||
+++ libdbi-drivers-0.8.1/drivers/oracle/dbd_oracle.c 2006-05-30 13:10:48.000000000 +0200
|
||||
@@ -523,7 +523,7 @@
|
||||
unsigned int sizeattrib;
|
||||
dbi_data_t *data;
|
||||
char *ptr, *cols[result->numfields];
|
||||
- dword status;
|
||||
+ sword status;
|
||||
|
||||
/*
|
||||
* Prefetch all cols as char *'s
|
||||
@@ -700,7 +700,7 @@
|
||||
}
|
||||
|
||||
/* taken from sqlite3 driver */
|
||||
-size_t dbd_quote_binary (dbi_conn_t *conn, const unsigned char *orig, size_t from_length, char **ptr_dest ) {
|
||||
+size_t dbd_quote_binary (dbi_conn_t *conn, const unsigned char *orig, size_t from_length, unsigned char **ptr_dest ) {
|
||||
unsigned char *temp;
|
||||
size_t len;
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
diff -Nuar libdbi-drivers-0.8.3-1.orig/configure.in libdbi-drivers-0.8.3-1/configure.in
|
||||
--- libdbi-drivers-0.8.3-1.orig/configure.in 2008-10-09 17:09:09.303141877 -0700
|
||||
+++ libdbi-drivers-0.8.3-1/configure.in 2008-10-09 17:10:48.100635797 -0700
|
||||
@@ -149,7 +149,8 @@
|
||||
-ac_docs="YES"
|
||||
+ac_docs="no"
|
||||
AC_ARG_ENABLE(docs,
|
||||
[ --disable-docs do not build and install the documentation.],
|
||||
- [ ac_docs="NO" ])
|
||||
+ [ ac_docs="$enableval" ],
|
||||
+ [ ac_docs="no" ])
|
||||
|
||||
-if test "$ac_docs" = "YES"; then
|
||||
+if test "$ac_docs" = "yes"; then
|
||||
dnl AC_PATH_PROGS(myjade, openjade jade)
|
||||
@@ -0,0 +1,25 @@
|
||||
diff -Nuar libdbi-drivers-0.8.3-1.orig/acinclude.m4 libdbi-drivers-0.8.3-1/acinclude.m4
|
||||
--- libdbi-drivers-0.8.3-1.orig/acinclude.m4 2007-12-30 11:05:40.000000000 +0000
|
||||
+++ libdbi-drivers-0.8.3-1/acinclude.m4 2009-10-26 06:50:49.823477194 +0000
|
||||
@@ -450,8 +450,8 @@
|
||||
firebird_incdirs="/opt/firebird/include /usr/include /usr/local/include /usr/include/firebird /usr/local/include/firebird /usr/local/firebird/include /opt/firebird/include"
|
||||
AC_FIND_FILE(ibase.h, $firebird_incdirs, ac_firebird_incdir)
|
||||
firebird_libdirs="/opt/firebird/lib /usr/lib /usr/local/lib /usr/lib/firebird /usr/local/lib/firebird /usr/local/firebird/lib /opt/firebird/lib"
|
||||
-dnl AC_FIND_FILE(libfbclient.so, $firebird_libdirs, ac_firebird_libdir)
|
||||
- AC_FIND_FILE(libfbembed.so, $firebird_libdirs, ac_firebird_libdir)
|
||||
+ AC_FIND_FILE(libfbclient.so, $firebird_libdirs, ac_firebird_libdir)
|
||||
+dnl AC_FIND_FILE(libfbembed.so, $firebird_libdirs, ac_firebird_libdir)
|
||||
if test "$ac_firebird_incdir" = "no"; then
|
||||
AC_MSG_RESULT(no)
|
||||
AC_MSG_ERROR([Invalid Firebird/Interbase directory - include files not found.])
|
||||
@@ -479,8 +479,8 @@
|
||||
[SCHAR_MSG="no"])
|
||||
AC_MSG_RESULT([$SCHAR_MSG])
|
||||
|
||||
-dnl FIREBIRD_LIBS="-lfbclient"
|
||||
- FIREBIRD_LIBS="-lfbembed"
|
||||
+ FIREBIRD_LIBS="-lfbclient"
|
||||
+dnl FIREBIRD_LIBS="-lfbembed"
|
||||
FIREBIRD_INCLUDE="-I$ac_firebird_incdir"
|
||||
FIREBIRD_LDFLAGS="-L$ac_firebird_libdir"
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
diff -urN libdbi-drivers-0.8.3-1.orig/drivers/oracle/dbd_oracle.c libdbi-drivers-0.8.3-1/drivers/oracle/dbd_oracle.c
|
||||
--- libdbi-drivers-0.8.3-1.orig/drivers/oracle/dbd_oracle.c 2009-01-26 16:31:42.000000000 +0300
|
||||
+++ libdbi-drivers-0.8.3-1/drivers/oracle/dbd_oracle.c 2009-01-26 16:32:38.000000000 +0300
|
||||
@@ -841,7 +841,7 @@
|
||||
{
|
||||
struct tm tmt;
|
||||
/* char stime[101], *cp = NULL; */
|
||||
-/* time_t loct = 0L; */
|
||||
+ time_t loct = 0L;
|
||||
|
||||
/* memset(stime, 0, sizeof(stime)); */
|
||||
|
||||
99
dev-db/libdbi-drivers/libdbi-drivers-0.8.3-r2.ebuild
Normal file
99
dev-db/libdbi-drivers/libdbi-drivers-0.8.3-r2.ebuild
Normal file
@@ -0,0 +1,99 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/libdbi-drivers/libdbi-drivers-0.8.3-r2.ebuild,v 1.1 2010/09/28 17:22:52 robbat2 Exp $
|
||||
|
||||
EAPI=1
|
||||
inherit eutils autotools
|
||||
|
||||
MY_PV="${PV}-1"
|
||||
MY_P="${PN}-${MY_PV}"
|
||||
|
||||
DESCRIPTION="The libdbi-drivers project maintains drivers for libdbi."
|
||||
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
|
||||
HOMEPAGE="http://libdbi-drivers.sourceforge.net/"
|
||||
LICENSE="LGPL-2.1"
|
||||
RDEPEND=">=dev-db/libdbi-0.8.3
|
||||
mysql? ( virtual/mysql )
|
||||
postgres? ( dev-db/postgresql-base )
|
||||
sqlite? ( <dev-db/sqlite-3 )
|
||||
sqlite3? ( >=dev-db/sqlite-3 )
|
||||
!bindist? ( firebird? ( dev-db/firebird ) )"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( app-text/openjade )"
|
||||
|
||||
IUSE="mysql postgres sqlite oci8 firebird +sqlite3 bindist doc"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
|
||||
SLOT=0
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
epatch "${FILESDIR}"/${PN}-0.8.3-doc-build-fix.patch
|
||||
epatch "${FILESDIR}"/${PN}-0.8.3-oracle-build-fix.patch
|
||||
epatch "${FILESDIR}"/${PN}-0.8.3-firebird-fix.patch
|
||||
cd "${S}"
|
||||
sed -e "s!/usr/lib!/usr/$(get_libdir)!g" -i configure.in -i acinclude.m4
|
||||
sed -e 's!CFLAGS=.*!CFLAGS="\${CFLAGS}"!g' -i configure.in
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
local drivers=""
|
||||
use mysql && drivers="${drivers} mysql"
|
||||
use postgres && drivers="${drivers} pgsql"
|
||||
use sqlite && drivers="${drivers} sqlite"
|
||||
use sqlite3 && drivers="${drivers} sqlite3"
|
||||
if use firebird; then
|
||||
if use bindist; then
|
||||
eerror "The Interbase Public License is incompatible with LGPL, see bug #200284."
|
||||
eerror "Disabling firebird in the build"
|
||||
else
|
||||
drivers="${drivers} firebird"
|
||||
fi
|
||||
fi
|
||||
if use oci8; then
|
||||
if [ -z "${ORACLE_HOME}" ]; then
|
||||
die "\$ORACLE_HOME is not set!"
|
||||
fi
|
||||
drivers="${drivers} oracle"
|
||||
fi
|
||||
# safety check
|
||||
if [ -z "${drivers// /}" ]; then
|
||||
die "No supported databases in your USE flags! (mysql, postgres, sqlite, sqlite3, oracle, firebird)"
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local myconf=""
|
||||
# WARNING: the configure script does NOT work correctly
|
||||
# --without-$driver does NOT work
|
||||
# so do NOT use `use_with...`
|
||||
use mysql && myconf="${myconf} --with-mysql"
|
||||
use postgres && myconf="${myconf} --with-pgsql"
|
||||
use sqlite && myconf="${myconf} --with-sqlite"
|
||||
use sqlite3 && myconf="${myconf} --with-sqlite3"
|
||||
use !bindist && use firebird && myconf="${myconf} --with-firebird"
|
||||
if use oci8; then
|
||||
if [ -z "${ORACLE_HOME}" ]; then
|
||||
die "\$ORACLE_HOME is not set!"
|
||||
fi
|
||||
myconf="${myconf} --with-oracle-dir=${ORACLE_HOME} --with-oracle"
|
||||
fi
|
||||
|
||||
econf $(use_enable doc docs) ${myconf} || die "econf failed"
|
||||
emake || die "emake failed"
|
||||
}
|
||||
|
||||
src_install () {
|
||||
emake install DESTDIR="${D}" || die "make install failed"
|
||||
dodoc AUTHORS ChangeLog NEWS README README.osx TODO
|
||||
}
|
||||
src_test() {
|
||||
if [ -z "${WANT_INTERACTIVE_TESTS}" ]; then
|
||||
ewarn "Tests disabled due to interactivity."
|
||||
ewarn "Run with WANT_INTERACTIVE_TESTS=1 if you want them."
|
||||
return 0
|
||||
fi
|
||||
einfo "Running interactive tests"
|
||||
emake check || die "Tests failed"
|
||||
}
|
||||
8
dev-db/libdbi-drivers/metadata.xml
Normal file
8
dev-db/libdbi-drivers/metadata.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>no-herd</herd>
|
||||
<maintainer>
|
||||
<email>robbat2@gentoo.org</email>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user