1 |
Author: grobian |
2 |
Date: 2009-07-16 19:56:43 +0000 (Thu, 16 Jul 2009) |
3 |
New Revision: 13829 |
4 |
|
5 |
Modified: |
6 |
main/branches/prefix/bin/ebuild.sh |
7 |
Log: |
8 |
most probably fix bug #278014 (some stupidity) |
9 |
|
10 |
Modified: main/branches/prefix/bin/ebuild.sh |
11 |
=================================================================== |
12 |
--- main/branches/prefix/bin/ebuild.sh 2009-07-16 17:44:19 UTC (rev 13828) |
13 |
+++ main/branches/prefix/bin/ebuild.sh 2009-07-16 19:56:43 UTC (rev 13829) |
14 |
@@ -605,7 +605,7 @@ |
15 |
} |
16 |
|
17 |
_eapi0_src_install() { |
18 |
- _eapi2_src_install |
19 |
+ _eapi1_src_install |
20 |
} |
21 |
|
22 |
_eapi0_src_test() { |
23 |
@@ -632,7 +632,12 @@ |
24 |
} |
25 |
|
26 |
_eapi1_src_install() { |
27 |
- _eapi2_src_install |
28 |
+ if use prefix ; then |
29 |
+ # this avoids misc QA errors in Prefix because it doesn't exist |
30 |
+ # by default |
31 |
+ mkdir -p "${ED}" |
32 |
+ return |
33 |
+ fi |
34 |
} |
35 |
|
36 |
_eapi2_src_configure() { |
37 |
@@ -647,15 +652,6 @@ |
38 |
fi |
39 |
} |
40 |
|
41 |
-_eapi2_src_install() { |
42 |
- if use prefix ; then |
43 |
- # this avoids misc errors in Prefix because it doesn't exist |
44 |
- # by default |
45 |
- mkdir -p "${ED}" |
46 |
- return |
47 |
- fi |
48 |
-} |
49 |
- |
50 |
_eapi3_src_install() { |
51 |
if [[ -f Makefile || -f GNUmakefile || -f makefile ]] ; then |
52 |
emake DESTDIR="${D}" install |
53 |
@@ -672,6 +668,10 @@ |
54 |
else |
55 |
dodoc ${DOCS} |
56 |
fi |
57 |
+ |
58 |
+ # this avoids misc QA errors in Prefix because it doesn't exist |
59 |
+ # by default |
60 |
+ use prefix && mkdir -p "${ED}" |
61 |
} |
62 |
|
63 |
ebuild_phase() { |