Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to tell portage to ignore /usr/local/bin PATH?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
trippels
Tux's lil' helper
Tux's lil' helper


Joined: 24 Nov 2010
Posts: 137
Location: Berlin

PostPosted: Tue Jul 02, 2013 4:16 pm    Post subject: How to tell portage to ignore /usr/local/bin PATH? Reply with quote

I have llvm-3.4 (tip) installed in /usr/local/bin and llvm-3.3 in /usr/bin .
When I emerge an ebuild that looks for llvm-config
portage always picks up /usr/local/bin/llvm-config .

How can I tell portage to ignore the /usr/local/bin/ PATH?
Back to top
View user's profile Send private message
trippels
Tux's lil' helper
Tux's lil' helper


Joined: 24 Nov 2010
Posts: 137
Location: Berlin

PostPosted: Tue Jul 02, 2013 4:37 pm    Post subject: Reply with quote

Ugh, it's hardcoded in pym/portage/package/ebuild/doebuild.py
Code:
 189                 for x in ("usr/local/sbin", "usr/local/bin", "usr/sbin", "usr/bin", "sbin", "bin"):

Changing this to:
Code:
 189                 for x in ("usr/sbin", "usr/bin", "sbin", "bin"):

fixes the issue...
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 6069
Location: Removed by Neddy

PostPosted: Tue Jul 02, 2013 8:18 pm    Post subject: Reply with quote

submit a bug to have that as an option
_________________
#define HelloWorld int
#define Int main()
#define Return printf
#define Print return
#include <stdio>
HelloWorld Int {
Return("Hello, world!\n");
Print 0;
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum