Summary: | x11-libs/fox-1.2.6-r2.ebuild ignores make.conf CXXFLAGS, resulting in huge libraries with poor performance. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Ferris McCormick (RETIRED) <fmccor> |
Component: | New packages | Assignee: | Ryan Phillips (RETIRED) <rphillips> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | sparc, yselkowitz |
Priority: | Normal | ||
Version: | 2004.3 | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 74872 | ||
Bug Blocks: | 59506 | ||
Attachments: | Add a patchfile and modify ebuild to use it: Use our CXXFLAGS instead of fox's. |
Description
Ferris McCormick (RETIRED)
2005-03-27 09:05:35 UTC
Created attachment 54685 [details, diff]
Add a patchfile and modify ebuild to use it: Use our CXXFLAGS instead of fox's.
This patch (1) creates a patch file for configure.in to force it to use our
CXXFLAGS instead of
fox's idea of what CXXFLAGS should be;
(2) modifies fox-1.2.6-r2.ebuild to apply the patch and to do necessary
autoconf, libtoolize;
(3) Add -DNDEBUG to CXXFLAGS unless USE=debug.
USE: In /usr/portage/x11-libs/fox: patch -p0 -z- -b < fox-1.2.6.patch
It's not pretty, but it works on sparc, at least, and resulting version of fox
appears to work fine.
There must be better solutions, but this timy change shows what the problem is
and one way to fix it.
(Without the libtoolize line, the build fails with a version mismatch.)
Notice also that just adding '--enable-release' to the configure flags will not
work, because the CXXFLAGS fox chooses
in that case are architecture-specific (and not sparc-appropriate).)
Regards,
Ferris
I note in passing that Yaakov S's improvements at Bug 88924 take care of this. So from my point of view, it is no linger an issue. Yakoov's ebuilds have been committed and masked. |