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