View previous topic :: View next topic |
Author |
Message |
thechris Veteran
Joined: 12 Oct 2003 Posts: 1203
|
Posted: Tue Sep 14, 2004 4:10 am Post subject: Useful Portage Wrapper -- cports.sh |
|
|
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 |
|
|
rhill Retired Dev
Joined: 22 Oct 2004 Posts: 1629 Location: sk.ca
|
Posted: Wed Dec 01, 2004 7:48 am Post subject: |
|
|
hey,this looks great. 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 |
|
|
Chaosite Guru
Joined: 13 Dec 2003 Posts: 540 Location: Right over here.
|
Posted: Wed Dec 01, 2004 11:46 am Post subject: |
|
|
dirtyepic wrote: | hey,this looks great. 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 |
|
|
rhill Retired Dev
Joined: 22 Oct 2004 Posts: 1629 Location: sk.ca
|
Posted: Wed Dec 01, 2004 1:43 pm Post subject: |
|
|
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 |
|
|
|