Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 20273 - xfree-4.3.0-r2.ebuild USE flag problem
Summary: xfree-4.3.0-r2.ebuild USE flag problem
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: Highest minor (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-01 09:45 UTC by Priit Laes (IRC: plaes)
Modified: 2003-06-02 18:12 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch to fix USE="-3dnow" compilation in xfree-4.3.0-r2 (xfree-3dnow.patch,463 bytes, patch)
2003-05-03 21:51 UTC, Tom Molesworth
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Priit Laes (IRC: plaes) 2003-05-01 09:45:21 UTC
During emerge xfree-4.3.0-r2 i can see -DUSE3DNOW flag appearing in compiler commandline, when i have it disabled...
It is disabled...
emerge -pv xfree displays:
-3dfx +sse +mmx -3dnow and so on...
I believe some makefiles aren't correctly "sed'ed"
Comment 1 Priit Laes (IRC: plaes) 2003-05-01 10:20:20 UTC
Did some research...
Problem seems to lie @ ${TEMPDIR}/xfree-4.3.0-r2/work/xc/lib/GL/mesa/src
directory...
Ebuild doesn't check and configure this directory, it only configures main xfree. Also, the flag displayed was -DUSE_3DNOW_ASM instead of that i reported earlier...
Comment 2 Tom Molesworth 2003-05-03 21:45:32 UTC
The 3dnow dependency in the ebuild leaves 3DNow! support at default when 3dnow is not specified, rather than explicitly disabling it. A simple patch (setting the two 3dnow_support variables to NO) fixes the problem, although X is still crashing on me at the moment :(
Comment 3 Tom Molesworth 2003-05-03 21:51:24 UTC
Created attachment 11450 [details, diff]
patch to fix USE="-3dnow" compilation in xfree-4.3.0-r2

two-line patch to disable 3DNow! opcodes in xfree compilation when USE="-3dnow"
is specified.
Comment 4 Seemant Kulleen (RETIRED) gentoo-dev 2003-06-02 18:12:28 UTC
ok, xfree-4.3.0-r2 ebuild reflects this change.  Thanks Tom.