Attached is a modified madwifi-driver-0.1_pre20041019.ebuild to allow it to build on amd64 as well as x86. (More architectures should be possible by setting TARGET appropriately, but I can't test them)
Created attachment 45799 [details] madwifi-driver-0.1_pre20041019.ebuild
Please attach your changes to the ebuild as a unified diff (diff -up).
Created attachment 45862 [details, diff] madwifi-driver-0.1_pre20041019.ebuild.patch
Adding horton and solar to CC:
Will look at rolling this into it also. Since we don't have AMD64 we will need someone to test our ebuilds.
I can confirm this patch works on AMD64 - or at least, my box
I've rather we did detection via use vs ARCH, reason being that checking for ARCH is not the best thing todo when cross compiling.
madwifi-driver & -tools 20050107 are in and both marked ~amd64 ~x86
fixed.