1 |
maillog: 07/12/2004-16:38:16(-0800): Donnie Berkholz types |
2 |
> On Wed, 2004-12-08 at 09:16 +0900, Georgi Georgiev wrote: |
3 |
> > And to the attention of spyderous: kernel_is from linux-info returns a |
4 |
> > valid exit code and outputs lots of einfos, therefore the [ $(kernel_is |
5 |
> > ..) ] and the other $(kernel_is) must not be in a subshell whose output |
6 |
> > is passed to the command line (hence the "Command '*' not understood"). |
7 |
> |
8 |
> I'm accepting patches that retain the former functionality. |
9 |
|
10 |
I posted it four levels up in this thread, but here it is again anyway: |
11 |
|
12 |
--- /usr/portage/x11-base/xorg-x11/xorg-x11-6.8.0-r4.ebuild 2004-12-07 13:23:15.000000000 +0900 |
13 |
+++ ./xorg-x11-6.8.0-r4.ebuild 2004-12-07 17:59:24.000000000 +0900 |
14 |
@@ -670,7 +674,7 @@ |
15 |
fi |
16 |
|
17 |
if ( [ -e "${ROOT}/usr/src/linux" ] \ |
18 |
- && [ ! $(kernel_is "2" "2") ] ) \ |
19 |
+ && !( kernel_is "2" "2" ) ) \ |
20 |
|| [ "$(uname -r | cut -d. -f1,2)" != "2.2" ]; then |
21 |
echo "#define HasLinuxInput YES" >> ${HOSTCONF} |
22 |
fi |
23 |
@@ -794,7 +798,7 @@ |
24 |
echo "#define ModuleAsCmd CcCmd -c -x assembler -fno-pie -fno-PIE" >> ${HOSTCONF} |
25 |
fi |
26 |
if ( [ -e "${ROOT}/usr/src/linux" ] \ |
27 |
- && !( $(kernel_is "2" "6") ) ) \ |
28 |
+ && !( kernel_is "2" "6" ) ) \ |
29 |
|| [ "$(uname -r | cut -d. -f1,2)" != "2.6" ]; then |
30 |
einfo "Building for kernels less than 2.6 requires special treatment" |
31 |
echo "#define UseDeprecatedKeyboardDriver YES" >> ${HOSTCONF} |
32 |
|
33 |
It is a bit off, because I also have a patch for xft that makes it |
34 |
generate bold fonts. You can still apply it manually anyway. |
35 |
|
36 |
-- |
37 |
) Georgi Georgiev ) The one charm of marriage is that it makes ) |
38 |
( chutz@×××.net ( a life of deception a neccessity. -- Oscar ( |
39 |
) +81(90)6266-1163 ) Wilde ) |