diff options
Diffstat (limited to 'x11-base/xfree/xfree-4.3.0-r6.ebuild')
-rw-r--r-- | x11-base/xfree/xfree-4.3.0-r6.ebuild | 30 |
1 files changed, 29 insertions, 1 deletions
diff --git a/x11-base/xfree/xfree-4.3.0-r6.ebuild b/x11-base/xfree/xfree-4.3.0-r6.ebuild index 8c8ee73620e4..e4f9fa8e5b5d 100644 --- a/x11-base/xfree/xfree-4.3.0-r6.ebuild +++ b/x11-base/xfree/xfree-4.3.0-r6.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-base/xfree/xfree-4.3.0-r6.ebuild,v 1.24 2004/04/19 06:14:07 spyderous Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-base/xfree/xfree-4.3.0-r6.ebuild,v 1.25 2004/04/19 19:04:24 spyderous Exp $ # TODO # 14 Mar. 2004 <spyderous@gentoo.org> @@ -462,6 +462,34 @@ src_unpack() { if use x86 then + # optimize Mesa for architecture + if use mmx + then + echo "#define HasMMXSupport YES" >> config/cf/host.def + echo "#define MesaUseMMX YES" >> config/cf/host.def + else + echo "#define HasMMXSupport NO" >> config/cf/host.def + echo "#define MesaUseMMX NO" >> config/cf/host.def + fi + + if use 3dnow + then + echo "#define Has3DNowSupport YES" >> config/cf/host.def + echo "#define MesaUse3DNow YES" >> config/cf/host.def + else + echo "#define Has3DNowSupport NO" >> config/cf/host.def + echo "#define MesaUse3DNow NO" >> config/cf/host.def + fi + + if use sse + then + echo "#define HasKatmaiSupport YES" >> config/cf/host.def + echo "#define MesaUseKatmai YES" >> config/cf/host.def + else + echo "#define HasKatmaiSupport NO" >> config/cf/host.def + echo "#define MesaUseKatmai NO" >> config/cf/host.def + fi + # build with glide3 support? (build the tdfx_dri.o module) if use 3dfx then |