1 |
robbat2 08/10/10 00:32:18 |
2 |
|
3 |
Modified: ChangeLog libdbi-drivers-0.8.3.ebuild |
4 |
Log: |
5 |
Make documentation build properly optional instead of dependant on system contents. |
6 |
(Portage version: 2.2_rc11/cvs/Linux 2.6.27-rc1-10246-gca5de40 x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.29 dev-db/libdbi-drivers/ChangeLog |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/libdbi-drivers/ChangeLog?rev=1.29&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/libdbi-drivers/ChangeLog?rev=1.29&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/libdbi-drivers/ChangeLog?r1=1.28&r2=1.29 |
14 |
|
15 |
Index: ChangeLog |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/dev-db/libdbi-drivers/ChangeLog,v |
18 |
retrieving revision 1.28 |
19 |
retrieving revision 1.29 |
20 |
diff -p -w -b -B -u -u -r1.28 -r1.29 |
21 |
--- ChangeLog 29 Sep 2008 02:47:33 -0000 1.28 |
22 |
+++ ChangeLog 10 Oct 2008 00:32:18 -0000 1.29 |
23 |
@@ -1,6 +1,12 @@ |
24 |
# ChangeLog for dev-db/libdbi-drivers |
25 |
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/dev-db/libdbi-drivers/ChangeLog,v 1.28 2008/09/29 02:47:33 robbat2 Exp $ |
27 |
+# $Header: /var/cvsroot/gentoo-x86/dev-db/libdbi-drivers/ChangeLog,v 1.29 2008/10/10 00:32:18 robbat2 Exp $ |
28 |
+ |
29 |
+ 10 Oct 2008; Robin H. Johnson <robbat2@g.o> |
30 |
+ +files/libdbi-drivers-0.8.3-doc-build-fix.patch, |
31 |
+ libdbi-drivers-0.8.3.ebuild: |
32 |
+ Make documentation build properly optional instead of dependant on system |
33 |
+ contents. |
34 |
|
35 |
29 Sep 2008; Robin H. Johnson <robbat2@g.o> |
36 |
-libdbi-drivers-0.7.1.ebuild, -libdbi-drivers-0.7.1-r1.ebuild, |
37 |
|
38 |
|
39 |
|
40 |
1.2 dev-db/libdbi-drivers/libdbi-drivers-0.8.3.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/libdbi-drivers/libdbi-drivers-0.8.3.ebuild?rev=1.2&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/libdbi-drivers/libdbi-drivers-0.8.3.ebuild?rev=1.2&content-type=text/plain |
44 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/libdbi-drivers/libdbi-drivers-0.8.3.ebuild?r1=1.1&r2=1.2 |
45 |
|
46 |
Index: libdbi-drivers-0.8.3.ebuild |
47 |
=================================================================== |
48 |
RCS file: /var/cvsroot/gentoo-x86/dev-db/libdbi-drivers/libdbi-drivers-0.8.3.ebuild,v |
49 |
retrieving revision 1.1 |
50 |
retrieving revision 1.2 |
51 |
diff -p -w -b -B -u -u -r1.1 -r1.2 |
52 |
--- libdbi-drivers-0.8.3.ebuild 29 Sep 2008 02:41:13 -0000 1.1 |
53 |
+++ libdbi-drivers-0.8.3.ebuild 10 Oct 2008 00:32:18 -0000 1.2 |
54 |
@@ -1,8 +1,8 @@ |
55 |
# Copyright 1999-2008 Gentoo Foundation |
56 |
# Distributed under the terms of the GNU General Public License v2 |
57 |
-# $Header: /var/cvsroot/gentoo-x86/dev-db/libdbi-drivers/libdbi-drivers-0.8.3.ebuild,v 1.1 2008/09/29 02:41:13 robbat2 Exp $ |
58 |
+# $Header: /var/cvsroot/gentoo-x86/dev-db/libdbi-drivers/libdbi-drivers-0.8.3.ebuild,v 1.2 2008/10/10 00:32:18 robbat2 Exp $ |
59 |
|
60 |
-inherit eutils |
61 |
+inherit eutils autotools |
62 |
|
63 |
MY_PV="${PV}-1" |
64 |
MY_P="${PN}-${MY_PV}" |
65 |
@@ -16,13 +16,21 @@ DEPEND=">=dev-db/libdbi-0.8.3 |
66 |
postgres? ( virtual/postgresql-server ) |
67 |
sqlite? ( <dev-db/sqlite-3 ) |
68 |
sqlite3? ( >=dev-db/sqlite-3 ) |
69 |
- !bindist? ( firebird? ( dev-db/firebird ) )" |
70 |
+ !bindist? ( firebird? ( dev-db/firebird ) ) |
71 |
+ doc? ( app-text/openjade )" |
72 |
|
73 |
-IUSE="mysql postgres sqlite oci8 firebird sqlite3 bindist" |
74 |
+IUSE="mysql postgres sqlite oci8 firebird sqlite3 bindist doc" |
75 |
KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86" |
76 |
SLOT=0 |
77 |
S="${WORKDIR}/${MY_P}" |
78 |
|
79 |
+src_unpack() { |
80 |
+ unpack ${A} |
81 |
+ epatch "${FILESDIR}"/${PN}-0.8.3-doc-build-fix.patch |
82 |
+ cd "${S}" |
83 |
+ eautoreconf |
84 |
+} |
85 |
+ |
86 |
pkg_setup() { |
87 |
local drivers="" |
88 |
use mysql && drivers="${drivers} mysql" |
89 |
@@ -66,7 +74,7 @@ src_compile() { |
90 |
myconf="${myconf} --with-oracle-dir=${ORACLE_HOME} --with-oracle" |
91 |
fi |
92 |
|
93 |
- econf ${myconf} || die "econf failed" |
94 |
+ econf $(use_enable doc docs) ${myconf} || die "econf failed" |
95 |
emake || die "emake failed" |
96 |
} |