If you are referring to the rpath linker directive then you might want to try building Ice with the prefix set to the ultimate location of the binaries (e.g. /usr/bin, /opt/Ice-3.0.0, etc) and then running 'make install' with the prefix for portage build directory. The first 'make' embeds the correct path and 'make install' ends up simply copying the files to the portage build directory.
Alternatively, you can modify the 'install_libdir' definition in 'Make.rules' to refer to the final installation directory instead of the value of $(prefix)/lib before 'make install' is run.
If the rpath linker directive embedding the library path isn't the problem, could you elaborate what the precise issue is?
Cheers
Brent Eagles
Digium/Eagles Technologies Inc
St. John's, NL
Project(s): Asterisk SCF