1 |
Hey All |
2 |
|
3 |
Found some of the nasty arch=i386 stuffs in pcmcia-cs. I've attached and |
4 |
pasted a diff for pcmcia-cs-3.1.33-r3.ebuild (r4 is currently masked out and |
5 |
only conatins updated orinico drivers for testing) to take care of that. |
6 |
Tested on 2 ppc machines and one x86 ok. :) |
7 |
|
8 |
Mark |
9 |
|
10 |
diff follows: |
11 |
|
12 |
--- pcmcia-cs-3.1.33-r3.ebuild.orig Tue May 21 23:21:44 2002 |
13 |
+++ pcmcia-cs-3.1.33-r3.ebuild Tue May 21 23:20:19 2002 |
14 |
@@ -51,12 +51,19 @@ |
15 |
myconf="$myconf --cardbus" |
16 |
fi |
17 |
|
18 |
+ # need to set some ARCH specific flags in here USEARCH should work ok |
19 |
+ if [ ${ARCH} = ppc ] ; then |
20 |
+ USEARCH="ppc" |
21 |
+ else |
22 |
+ USEARCH="i386" |
23 |
+ fi |
24 |
+ |
25 |
#use $CFLAGS for user tools, but standard kernel optimizations for the |
26 |
kernel modules (for compatibility) |
27 |
./Configure -n \ |
28 |
--target=${D} \ |
29 |
--srctree \ |
30 |
--kernel=/usr/src/linux \ |
31 |
- --arch="i386" \ |
32 |
+ --arch="${USEARCH}" \ |
33 |
--uflags="$CFLAGS" \ |
34 |
--kflags="-Wall -Wstrict-prototypes -O2 -fomit-frame-pointer" \ |
35 |
$myconf || die "failed configuring" |