Pullup ticket #4346 - requested by obache
graphics/MesaLib: build fix for depending packages

Revisions pulled up:
- graphics/MesaLib/dri.mk                                       1.8
- graphics/MesaLib/options.mk                                   1.26

---
   Module Name:	pkgsrc
   Committed By:	obache
   Date:		Fri Mar 14 07:19:36 UTC 2014

   Modified Files:
   	pkgsrc/graphics/MesaLib: dri.mk options.mk

   Log Message:
   Overall dri related dependency clean up.
   * move dri related API_DEPENDS into dri.mk.
   * add missing API_DEPENDS.
   * only define such API_DEPENDS only not using builtin MesaLib.

   Fixes following issues on platforms that builtin one is older than required
   version (ex. NetBSD-5).
   * build issue of MesaLib
   * unwanted dependency on MesaLib from pkgsrc even if builtin one is
   sufficient.
Pullup ticket #4346.