1 |
commit: b7e997cb6100d9a34ce01451b73b569634f18aa7 |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Feb 28 23:51:02 2018 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Feb 28 23:51:14 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7e997cb |
7 |
|
8 |
net-mail/dovecot: Fix building with USE=sieve or USE=managesieve |
9 |
|
10 |
Package-Manager: Portage-2.3.24, Repoman-2.3.6 |
11 |
|
12 |
net-mail/dovecot/dovecot-2.3.0.1.ebuild | 6 +++--- |
13 |
1 file changed, 3 insertions(+), 3 deletions(-) |
14 |
|
15 |
diff --git a/net-mail/dovecot/dovecot-2.3.0.1.ebuild b/net-mail/dovecot/dovecot-2.3.0.1.ebuild |
16 |
index 13a67985103..8425b73eb36 100644 |
17 |
--- a/net-mail/dovecot/dovecot-2.3.0.1.ebuild |
18 |
+++ b/net-mail/dovecot/dovecot-2.3.0.1.ebuild |
19 |
@@ -7,7 +7,7 @@ SSL_DEPS_SKIP=1 |
20 |
inherit ssl-cert systemd user versionator |
21 |
|
22 |
MY_P="${P/_/.}" |
23 |
-MY_S="${PN}-ce-${PV}" |
24 |
+#MY_S="${PN}-ce-${PV}" |
25 |
major_minor="$(get_version_component_range 1-2)" |
26 |
sieve_version="0.5.0.1" |
27 |
if [[ ${PV} == *_rc* ]] ; then |
28 |
@@ -126,9 +126,9 @@ src_configure() { |
29 |
cd "../dovecot-${major_minor}-pigeonhole-${sieve_version}" || die "cd failed" |
30 |
econf \ |
31 |
$( use_enable static-libs static ) \ |
32 |
- --localstatedir="${EPREFIX}/var" \ |
33 |
+ --localstatedir="${EPREFIX%/}/var" \ |
34 |
--enable-shared \ |
35 |
- --with-dovecot="../${MY_S}" \ |
36 |
+ --with-dovecot="${S}" \ |
37 |
$( use_with managesieve ) |
38 |
fi |
39 |
} |