commit:     9eab1f8d567a7c7734f835e2cb84f07c63bf30ff
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Thu Dec  6 11:17:40 2018 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Thu Dec  6 11:18:04 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9eab1f8d

net-mail/lbdb: fix install for Prefix by Olivier Huber, bug #669390

Closes: https://bugs.gentoo.org/669390
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 net-mail/lbdb/lbdb-0.42.1.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/net-mail/lbdb/lbdb-0.42.1.ebuild b/net-mail/lbdb/lbdb-0.42.1.ebuild
index 48a8974ca10..dc9aa2dc00b 100644
--- a/net-mail/lbdb/lbdb-0.42.1.ebuild
+++ b/net-mail/lbdb/lbdb-0.42.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -30,7 +30,7 @@ src_configure() {
        if use evo ; then
                evoversion=$(best_version mail-client/evolution)
                evoversion=${evoversion##mail-client/evolution-}
-               
evolution_addressbook_export="/usr/libexec/evolution/$(get_version_component_range
 1-2 ${evoversion})/evolution-addressbook-export"
+               
evolution_addressbook_export="${EPREFIX}/usr/libexec/evolution/$(get_version_component_range
 1-2 ${evoversion})/evolution-addressbook-export"
        fi
 
        econf $(use_with finger) \
@@ -41,7 +41,7 @@ src_configure() {
                --enable-lbdb-dotlock \
                --without-pgpk --without-pgp \
                --without-niscat --without-addr-email --with-getent \
-               --libdir=/usr/$(get_libdir)/lbdb
+               --libdir="${EPREFIX}"/usr/$(get_libdir)/lbdb
 }
 
 src_install () {

Reply via email to