Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

Search and replace in /etc/portage/env

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
3 posts • Page 1 of 1
Author
Message
Uzytkownik
Guru
Guru
Posts: 399
Joined: Sun Oct 31, 2004 8:08 pm
Location: Bay Area, US
Contact:
Contact Uzytkownik
Website

Search and replace in /etc/portage/env

  • Quote

Post by Uzytkownik » Wed Dec 19, 2012 12:53 am

Given that files pointed from /etc/portage/package.env are not bash scripts is it possible to search and replace in C(XX)FLAGS? I have a package which passes CXXFLAGS to non-gcc compiler and throws errors - but there seems to be no way to just say 'filter this flag' from within /etc/portage and the changes to /usr/portage are changed after each emerge --sync.
I've probably left my head... somwhere. Please wait untill I find it.
Top
Hu
Administrator
Administrator
Posts: 24385
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Wed Dec 19, 2012 2:16 am

You could use /etc/portage/bashrc or /etc/portage/env/ to run bash code to filter the flags. What package is this that forces a non-gcc compiler and still uses the regular CXXFLAGS?
Top
Uzytkownik
Guru
Guru
Posts: 399
Joined: Sun Oct 31, 2004 8:08 pm
Location: Bay Area, US
Contact:
Contact Uzytkownik
Website

  • Quote

Post by Uzytkownik » Wed Dec 19, 2012 4:17 am

Hu wrote:You could use /etc/portage/bashrc or /etc/portage/env/ to run bash code to filter the flags. What package is this that forces a non-gcc compiler and still uses the regular CXXFLAGS?
Thanks. Package is [bug=444544]accelerate-cuda from Haskell overlay[/bug].
I've probably left my head... somwhere. Please wait untill I find it.
Top
Post Reply

3 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic