commit:     c42c9b0ad61f53caa4f13789fde90f3b7ee2bef2
Author:     Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Mon Aug  1 05:44:00 2016 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Mon Aug  1 05:46:44 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c42c9b0a

sys-fs/eudev: Prefix support.

Bug: 589796

 sys-fs/eudev/eudev-3.2.ebuild | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/sys-fs/eudev/eudev-3.2.ebuild b/sys-fs/eudev/eudev-3.2.ebuild
index e70d954..7e2730d 100644
--- a/sys-fs/eudev/eudev-3.2.ebuild
+++ b/sys-fs/eudev/eudev-3.2.ebuild
@@ -108,19 +108,19 @@ multilib_src_configure() {
                DBUS_LIBS=' '
                --with-rootprefix=
                --with-rootrundir=/run
-               --libdir=/usr/$(get_libdir)
-               --with-rootlibexecdir=/lib/udev
+               --libdir="${EPREFIX}"/usr/$(get_libdir)
+               --with-rootlibexecdir="${EPREFIX}"/lib/udev
                --enable-split-usr
                --enable-manpages
                --disable-hwdb
-               --exec-prefix=/
+               --exec-prefix="${EPREFIX}"
        )
 
        # Only build libudev for non-native_abi, and only install it to libdir,
        # that means all options only apply to native_abi
        if multilib_is_native_abi; then
                econf_args+=(
-                       --with-rootlibdir=/$(get_libdir)
+                       --with-rootlibdir="${EPREFIX}"/$(get_libdir)
                        $(use_enable introspection)
                        $(use_enable kmod)
                        $(use_enable static-libs static)

Reply via email to