There's an error in the povray 3.5c ebuild that causes it to be compiled without X display support, regardless if USE="X" is set or not. Here is the relevant part starting on line 47: use X && myconf="${myconf} --with-x" \ || myconf="${myconf} --without-x"\ && CFLAGS="${CFLAGS} -DX_DISPLAY_MISSING" The last line will always be used due to precedence of operators ("and" comes before "or"), so -DX_DISPLAY_MISSING will always be set whether or not USE="X" is set. This means the render preview won't work, which is handy to have in modeling programs. steps to reproduce: 1. emerge sync 2. emerge \>=povray-3.5 3. start kpovmodeler (from kdegraphics) 4. click view->render 5. nothing is displayed in the render window steps to fix: 1. modify povray-3.5c.ebuild 2. emerge povray Here's a diff which fixes the ebuild. It just removes the && from the last line since it isn't necessary to use && between variable settings anyway. --- povray-3.50c.ebuild.orig 2003-12-31 20:01:10.000000000 -0600 +++ povray-3.50c.ebuild 2004-01-13 22:20:10.000000000 -0600 @@ -46,7 +46,7 @@ use X && myconf="${myconf} --with-x" \ || myconf="${myconf} --without-x"\ - && CFLAGS="${CFLAGS} -DX_DISPLAY_MISSING" + CFLAGS="${CFLAGS} -DX_DISPLAY_MISSING" econf ${myconf} || die
Created attachment 23777 [details] new fixed ebuild
Thank you, changed in portage