summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2018-03-01 00:51:02 +0100
committerThomas Deutschmann <whissi@gentoo.org>2018-03-01 00:51:14 +0100
commitb7e997cb6100d9a34ce01451b73b569634f18aa7 (patch)
tree311e77d508f5ed5136b19ad77da73e704fb51c4b /net-mail
parentsys-apps/openrc: 0.35 version bump (diff)
downloadgentoo-b7e997cb6100d9a34ce01451b73b569634f18aa7.tar.gz
gentoo-b7e997cb6100d9a34ce01451b73b569634f18aa7.tar.bz2
gentoo-b7e997cb6100d9a34ce01451b73b569634f18aa7.zip
net-mail/dovecot: Fix building with USE=sieve or USE=managesieve
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'net-mail')
-rw-r--r--net-mail/dovecot/dovecot-2.3.0.1.ebuild6
1 files 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 13a679851031..8425b73eb363 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
}