1 |
commit: be7dd37014972979b3606275279b85aa61a17562 |
2 |
Author: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Apr 27 17:44:44 2011 +0000 |
4 |
Commit: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Apr 27 17:44:44 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=be7dd370 |
7 |
|
8 |
Make zfs install to / not to /usr |
9 |
|
10 |
--- |
11 |
sys-devel/spl/spl-0.6.0_rc3.ebuild | 6 +++++- |
12 |
sys-devel/spl/spl-9999.ebuild | 6 +++++- |
13 |
sys-fs/zfs/zfs-0.6.0_rc3.ebuild | 10 +++++++--- |
14 |
sys-fs/zfs/zfs-9999.ebuild | 10 +++++++--- |
15 |
4 files changed, 24 insertions(+), 8 deletions(-) |
16 |
|
17 |
diff --git a/sys-devel/spl/spl-0.6.0_rc3.ebuild b/sys-devel/spl/spl-0.6.0_rc3.ebuild |
18 |
index f3f7751..40b2501 100644 |
19 |
--- a/sys-devel/spl/spl-0.6.0_rc3.ebuild |
20 |
+++ b/sys-devel/spl/spl-0.6.0_rc3.ebuild |
21 |
@@ -31,7 +31,11 @@ src_prepare() { |
22 |
|
23 |
src_configure() { |
24 |
set_arch_to_kernel |
25 |
- econf --with-config=all --with-linux="${KERNEL_DIR}" --with-linux-obj="${KERNEL_DIR}" |
26 |
+ econf \ |
27 |
+ --prefix="${EPREFIX}" \ |
28 |
+ --with-config=all \ |
29 |
+ --with-linux="${KERNEL_DIR}" \ |
30 |
+ --with-linux-obj="${KERNEL_DIR}" |
31 |
} |
32 |
|
33 |
src_install() { |
34 |
|
35 |
diff --git a/sys-devel/spl/spl-9999.ebuild b/sys-devel/spl/spl-9999.ebuild |
36 |
index 8548476..5aed7dd 100644 |
37 |
--- a/sys-devel/spl/spl-9999.ebuild |
38 |
+++ b/sys-devel/spl/spl-9999.ebuild |
39 |
@@ -30,7 +30,11 @@ src_prepare() { |
40 |
|
41 |
src_configure() { |
42 |
set_arch_to_kernel |
43 |
- econf --with-config=all --with-linux="${KERNEL_DIR}" --with-linux-obj="${KERNEL_DIR}" |
44 |
+ econf \ |
45 |
+ --prefix="${EPREFIX}" \ |
46 |
+ --with-config=all \ |
47 |
+ --with-linux="${KERNEL_DIR}" \ |
48 |
+ --with-linux-obj="${KERNEL_DIR}" |
49 |
} |
50 |
|
51 |
src_install() { |
52 |
|
53 |
diff --git a/sys-fs/zfs/zfs-0.6.0_rc3.ebuild b/sys-fs/zfs/zfs-0.6.0_rc3.ebuild |
54 |
index ab60f3a..c72cbb2 100644 |
55 |
--- a/sys-fs/zfs/zfs-0.6.0_rc3.ebuild |
56 |
+++ b/sys-fs/zfs/zfs-0.6.0_rc3.ebuild |
57 |
@@ -34,9 +34,13 @@ src_prepare() { |
58 |
|
59 |
src_configure() { |
60 |
set_arch_to_kernel |
61 |
- econf --with-config=all \ |
62 |
- --with-linux="${KERNEL_DIR}" --with-linux-obj="${KERNEL_DIR}" \ |
63 |
- --with-spl=/usr/include/spl --with-spl-obj=/usr/include/spl/module |
64 |
+ econf \ |
65 |
+ --with-prefix="${EPREFIX}" \ |
66 |
+ --with-config=all \ |
67 |
+ --with-linux="${KERNEL_DIR}" \ |
68 |
+ --with-linux-obj="${KERNEL_DIR}" \ |
69 |
+ --with-spl=/usr/include/spl \ |
70 |
+ --with-spl-obj=/usr/include/spl/module |
71 |
} |
72 |
|
73 |
src_compile() { |
74 |
|
75 |
diff --git a/sys-fs/zfs/zfs-9999.ebuild b/sys-fs/zfs/zfs-9999.ebuild |
76 |
index 3f8e326..8394619 100644 |
77 |
--- a/sys-fs/zfs/zfs-9999.ebuild |
78 |
+++ b/sys-fs/zfs/zfs-9999.ebuild |
79 |
@@ -35,9 +35,13 @@ src_prepare() { |
80 |
|
81 |
src_configure() { |
82 |
set_arch_to_kernel |
83 |
- econf --with-config=all \ |
84 |
- --with-linux="${KERNEL_DIR}" --with-linux-obj="${KERNEL_DIR}" \ |
85 |
- --with-spl=/usr/include/spl --with-spl-obj=/usr/include/spl/module |
86 |
+ econf \ |
87 |
+ --with-prefix="${EPREFIX}" \ |
88 |
+ --with-config=all \ |
89 |
+ --with-linux="${KERNEL_DIR}" \ |
90 |
+ --with-linux-obj="${KERNEL_DIR}" \ |
91 |
+ --with-spl=/usr/include/spl \ |
92 |
+ --with-spl-obj=/usr/include/spl/module |
93 |
} |
94 |
|
95 |
src_compile() { |