Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-ppc-dev
Navigation:
Lists: gentoo-ppc-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentooppc-dev@g.o
From: Mark Guertin <mguertin@...>
Subject: yet another ebuild diff (pcmcia-cs)
Date: Tue May 21 23:37:02 2002
Hey All

Found some of the nasty arch=i386 stuffs in pcmcia-cs.  I've attached and 
pasted a diff for pcmcia-cs-3.1.33-r3.ebuild (r4 is currently masked out and 
only conatins updated orinico drivers for testing) to take care of that.  
Tested on 2 ppc machines and one x86 ok. :)

Mark

diff follows:

--- pcmcia-cs-3.1.33-r3.ebuild.orig	Tue May 21 23:21:44 2002
+++ pcmcia-cs-3.1.33-r3.ebuild	Tue May 21 23:20:19 2002
@@ -51,12 +51,19 @@
 		myconf="$myconf --cardbus"
 	fi

+	# need to set some ARCH specific flags in here USEARCH should work ok
+	if [ ${ARCH} = ppc ] ; then
+		USEARCH="ppc"
+	else
+		USEARCH="i386"
+	fi
+
 	#use $CFLAGS for user tools, but standard kernel optimizations for the 
kernel modules (for compatibility)
 	./Configure -n \
 		--target=${D} \
 		--srctree \
 		--kernel=/usr/src/linux \
-		--arch="i386" \
+		--arch="${USEARCH}" \
 		--uflags="$CFLAGS" \
 		--kflags="-Wall -Wstrict-prototypes -O2 -fomit-frame-pointer" \
 		$myconf || die "failed configuring"
Attachment:
pcmcia-cs-3.1.33-r3.ebuild.diff (Text Data)
Navigation:
Lists: gentoo-ppc-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Xeasyconfig realesed along w/ ebuild
Next by thread:
Re: X scrollwheel (the real fix)
Previous by date:
Xeasyconfig realesed along w/ ebuild
Next by date:
Re: X scrollwheel (the real fix)


Updated Jun 17, 2009

Summary: Archive of the gentoo-ppc-dev mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.