1 |
commit: c42c9b0ad61f53caa4f13789fde90f3b7ee2bef2 |
2 |
Author: Benda Xu <heroxbd <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Aug 1 05:44:00 2016 +0000 |
4 |
Commit: Benda XU <heroxbd <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Aug 1 05:46:44 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c42c9b0a |
7 |
|
8 |
sys-fs/eudev: Prefix support. |
9 |
|
10 |
Bug: 589796 |
11 |
|
12 |
sys-fs/eudev/eudev-3.2.ebuild | 8 ++++---- |
13 |
1 file changed, 4 insertions(+), 4 deletions(-) |
14 |
|
15 |
diff --git a/sys-fs/eudev/eudev-3.2.ebuild b/sys-fs/eudev/eudev-3.2.ebuild |
16 |
index e70d954..7e2730d 100644 |
17 |
--- a/sys-fs/eudev/eudev-3.2.ebuild |
18 |
+++ b/sys-fs/eudev/eudev-3.2.ebuild |
19 |
@@ -108,19 +108,19 @@ multilib_src_configure() { |
20 |
DBUS_LIBS=' ' |
21 |
--with-rootprefix= |
22 |
--with-rootrundir=/run |
23 |
- --libdir=/usr/$(get_libdir) |
24 |
- --with-rootlibexecdir=/lib/udev |
25 |
+ --libdir="${EPREFIX}"/usr/$(get_libdir) |
26 |
+ --with-rootlibexecdir="${EPREFIX}"/lib/udev |
27 |
--enable-split-usr |
28 |
--enable-manpages |
29 |
--disable-hwdb |
30 |
- --exec-prefix=/ |
31 |
+ --exec-prefix="${EPREFIX}" |
32 |
) |
33 |
|
34 |
# Only build libudev for non-native_abi, and only install it to libdir, |
35 |
# that means all options only apply to native_abi |
36 |
if multilib_is_native_abi; then |
37 |
econf_args+=( |
38 |
- --with-rootlibdir=/$(get_libdir) |
39 |
+ --with-rootlibdir="${EPREFIX}"/$(get_libdir) |
40 |
$(use_enable introspection) |
41 |
$(use_enable kmod) |
42 |
$(use_enable static-libs static) |