Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Useful Portage Wrapper -- cports.sh
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
thechris
Veteran
Veteran


Joined: 12 Oct 2003
Posts: 1203

PostPosted: Tue Sep 14, 2004 4:10 am    Post subject: Useful Portage Wrapper -- cports.sh Reply with quote

i made a new verison:
http://www.siue.edu/~cstahl/linux/

basically it adds features for ease of mixing gcc3.3.3 with gcc3.4.1 and other power user features. it is a bash script though. it has some easily shown bugs at this point, but can be used for some tasks.

basically ebuilds with odd versions that either start with a letter, or have letters other then r and c in them will come up wrong...

but the wrapper checks for a /etc/portage/make.conf.ebuildname to attempt use a specific make.conf if possible. this is useful for apps that need specific use flags or cflags.

it also looks in /etc/portage/packages.gcc to see what compiler to use.

and it will look in /etc/portage/cflags.3.3.3 or 3.4.1 to see what cflags to remove! this way you can have a mix of gcc3.3.3 and 3.4.1 cflags in your make.conf and not worry!

really, i need some bug reports... i know of some issues and potential issues -- like aterm vs aterm.

make sure to chmod 700 and chown root on the file.

useage:
./cports.sh 'list of ebuilds' options
option is stuff like pUgGkf ect... no dash is needed.
Back to top
View user's profile Send private message
rhill
Retired Dev
Retired Dev


Joined: 22 Oct 2004
Posts: 1629
Location: sk.ca

PostPosted: Wed Dec 01, 2004 7:48 am    Post subject: Reply with quote

hey,this looks great. :o i'm constantly going into make.conf and switching maketest on and off for packages that fail their checks. this'll make it so much easier.

i can't believe you didn't get any interest in it. i see the last changes happened back in Sept. are you still maintaining it by any chance?
_________________
by design, by neglect
for a fact or just for effect
Back to top
View user's profile Send private message
Chaosite
Guru
Guru


Joined: 13 Dec 2003
Posts: 540
Location: Right over here.

PostPosted: Wed Dec 01, 2004 11:46 am    Post subject: Reply with quote

dirtyepic wrote:
hey,this looks great. :o i'm constantly going into make.conf and switching maketest on and off for packages that fail their checks. this'll make it so much easier.

i can't believe you didn't get any interest in it. i see the last changes happened back in Sept. are you still maintaining it by any chance?


...

Why not just use the enviroment variable?
Code:
FEATURES="maketest" emerge foo


Still useful...
The CFLAGS bit is pure genius.
Back to top
View user's profile Send private message
rhill
Retired Dev
Retired Dev


Joined: 22 Oct 2004
Posts: 1629
Location: sk.ca

PostPosted: Wed Dec 01, 2004 1:43 pm    Post subject: Reply with quote

because FEATURES="maketest" emerge system doesn't work too well at the moment, which is exactly what i'm working on fixing right now.

https://bugs.gentoo.org/show_bug.cgi?id=73031
_________________
by design, by neglect
for a fact or just for effect
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks 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