Roman Gaufman wrote:
 * //usr/X11R6/lib/X11/fonts/fonts.cache-1 not a symlink, moving to
/usr/share/fonts

!!! ERROR: x11-base/xorg-x11-6.8.1.903 failed.
!!! Function remove_font_dirs, Line 1666, Exitcode 1
!!! /usr/share/fonts/fonts.cache-1 exists. Remove it and try again.
!!! If you need support, post the topmost build error, NOT this status message.

Try this patch. I neglected to consider the possibility of top-level files in /usr/share/fonts/.
--- xorg-x11-6.8.1.903.ebuild.orig	2005-02-01 19:07:41.454051768 -0800
+++ xorg-x11-6.8.1.903.ebuild	2005-02-01 19:07:52.744335384 -0800
@@ -1658,7 +1658,7 @@
 					rm -rfv ${G_FONTDIR}
 				else
 					ewarn "${G_FONTDIR} not a symlink, moving to /usr/share/fonts"
-					if [ -e ${G_FONTDIR} ]; then
+					if [ -d ${G_FONTDIR} ]; then
 						if [ ! -e /usr/share/fonts/${G_FONTDIR##*/} ]; then
 							einfo "Moving ${G_FONTDIR} to /usr/share/fonts/"
 							mv ${G_FONTDIR} /usr/share/fonts/

--
[email protected] mailing list

Reply via email to