media-libs/mesa is a dependency of virtual/opengl which is e.g. a dependency of media-gfx/asymptote. The attached patch fixes "make install" after doing "ecopy =media-libs/mesa-7.2".
Created attachment 180566 [details, diff] mesa-7.2.patch
this patch works for media-libs/mesa-7.3 on ~x86-solaris too.
media-libs/mesa-7.3 depends on x11-proto/dri2proto, adding the appropriate bug.
added 7.3, hope that is ok. thx