x11-misc/imake
x11-proto/xproto"
src_compile() {
src_configure() {
xmkmf -a || die "xmkmf failed"
emake CDEBUGFLAGS="${CFLAGS}" || die "emake failed"
sed -i Makefile -e "s/CC = gcc/CC = $(tc-getCC)/" || die "sed failed"
}
emake CDEBUGFLAGS="${CFLAGS}" LDOPTIONS="${LDFLAGS}" || die "emake failed"
src_install() {