for ghostscript in app-text/ghostscript-{gnu,esp,afpl}; do if has_version ${ghostscript} && !built_with_use ${ghostscript} X; then eerror "This package requires ${ghostscript} compiled with X11 support." eerror "Please reemerge ${ghostscript} with USE=\"X\"." die "Please reemerge ${ghostscript} with USE=\"X\"." fi done there should probably be a space btwn ! and built_with_use.
got it - thanks for the report