1 |
commit: e2f96e17e79810c1aee9aa788cd6e46ac986df9a |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jan 27 18:25:44 2019 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jan 27 23:12:01 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2f96e17 |
7 |
|
8 |
app-office/libreoffice: Re-apply add mariadb USE flag |
9 |
|
10 |
Package-Manager: Portage-2.3.58, Repoman-2.3.12 |
11 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
12 |
|
13 |
app-office/libreoffice/libreoffice-6.2.0.3.ebuild | 7 +++++-- |
14 |
1 file changed, 5 insertions(+), 2 deletions(-) |
15 |
|
16 |
diff --git a/app-office/libreoffice/libreoffice-6.2.0.3.ebuild b/app-office/libreoffice/libreoffice-6.2.0.3.ebuild |
17 |
index 2d7e26ac310..4861ff9850d 100644 |
18 |
--- a/app-office/libreoffice/libreoffice-6.2.0.3.ebuild |
19 |
+++ b/app-office/libreoffice/libreoffice-6.2.0.3.ebuild |
20 |
@@ -63,7 +63,7 @@ unset ADDONS_SRC |
21 |
LO_EXTS="nlpsolver scripting-beanshell scripting-javascript wiki-publisher" |
22 |
|
23 |
IUSE="accessibility bluetooth +branding coinmp +cups dbus debug eds firebird |
24 |
-googledrive gstreamer +gtk gtk2 kde odk pdfimport postgres test vlc |
25 |
+googledrive gstreamer +gtk gtk2 kde +mariadb odk pdfimport postgres test vlc |
26 |
$(printf 'libreoffice_extensions_%s ' ${LO_EXTS})" |
27 |
|
28 |
REQUIRED_USE="${PYTHON_REQUIRED_USE} |
29 |
@@ -103,7 +103,6 @@ COMMON_DEPEND="${PYTHON_DEPS} |
30 |
app-text/mythes |
31 |
>=dev-cpp/clucene-2.3.3.4-r2 |
32 |
=dev-cpp/libcmis-0.5* |
33 |
- dev-db/mysql-connector-c |
34 |
dev-db/unixODBC |
35 |
dev-lang/perl |
36 |
dev-libs/boost:=[nls] |
37 |
@@ -189,6 +188,8 @@ COMMON_DEPEND="${PYTHON_DEPS} |
38 |
) |
39 |
libreoffice_extensions_scripting-beanshell? ( dev-java/bsh ) |
40 |
libreoffice_extensions_scripting-javascript? ( dev-java/rhino:1.6 ) |
41 |
+ mariadb? ( dev-db/mariadb-connector-c ) |
42 |
+ !mariadb? ( dev-db/mysql-connector-c ) |
43 |
pdfimport? ( app-text/poppler:=[cxx] ) |
44 |
postgres? ( >=dev-db/postgresql-9.0:*[kerberos] ) |
45 |
" |
46 |
@@ -402,6 +403,7 @@ src_configure() { |
47 |
--enable-randr |
48 |
--enable-release-build |
49 |
--disable-breakpad |
50 |
+ --disable-bundle-mariadb |
51 |
--disable-ccache |
52 |
--disable-dependency-tracking |
53 |
--disable-epm |
54 |
@@ -491,6 +493,7 @@ src_configure() { |
55 |
|
56 |
is-flagq "-flto*" && myeconfargs+=( --enable-lto ) |
57 |
|
58 |
+ MARIADBCONFIG="$(type -p $(usex mariadb mariadb mysql)_config)" \ |
59 |
econf "${myeconfargs[@]}" |
60 |
} |