From: Thomas Deutschmann Date: Wed, 28 Feb 2018 23:51:02 +0000 (+0100) Subject: net-mail/dovecot: Fix building with USE=sieve or USE=managesieve X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=b7e997cb6100d9a34ce01451b73b569634f18aa7;p=gentoo.git net-mail/dovecot: Fix building with USE=sieve or USE=managesieve Package-Manager: Portage-2.3.24, Repoman-2.3.6 --- 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 }