Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 86722 - portage patch to add flags from /etc/portage/packages.cflags and /etc/portage/packages.cxxflags
Summary: portage patch to add flags from /etc/portage/packages.cflags and /etc/portage...
Status: RESOLVED DUPLICATE of bug 44796
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Configuration (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-25 16:35 UTC by Wojciech Potentas
Modified: 2005-07-17 13:06 UTC (History)
1 user (show)

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


Attachments
patch for portage_const.py. unfotunately - untested (portage_const.py.diff,334 bytes, patch)
2005-03-25 16:38 UTC, Wojciech Potentas
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Wojciech Potentas 2005-03-25 16:35:46 UTC
When doing boostrap.sh process sometimes there is such situation, that
some packages compile with one set of flags, some with totally different 
(like ncurses - it needs -fno-exceptions, and db4 needs -fexceptions - theese
flags are opposite so compilation will fail instead, if you put -fexceptions it 
will fail on ncurses, if "-fno-expections" on db4). I thought to make possible
creation of /etc/portage/packages.cflags and /etc/portage/packages.cxxflags
files with extra flags for this, so one can add needed flags to selected package.
I wrote a patch for portage but I don't know if it wokrs case don't know how to 
test it. It is in attachment.
Comment 1 Wojciech Potentas 2005-03-25 16:38:38 UTC
Created attachment 54483 [details, diff]
patch for portage_const.py. unfotunately - untested
Comment 2 SpanKY gentoo-dev 2005-03-28 21:14:03 UTC

*** This bug has been marked as a duplicate of 44796 ***