Mesa (9.0): build: Don't list glproto and dri2proto in pkg-config file

Matt Turner mattst88 at kemper.freedesktop.org
Tue Sep 18 21:08:48 UTC 2012


Module: Mesa
Branch: 9.0
Commit: 437c40eee432d087ca535b80471784dfd982c6cc
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=437c40eee432d087ca535b80471784dfd982c6cc

Author: Matt Turner <mattst88 at gmail.com>
Date:   Tue Sep 11 17:08:17 2012 -0700

build: Don't list glproto and dri2proto in pkg-config file

No files provided by glproto or dri2proto are needed for building
something with Mesa.

Bugzilla: https://bugs.gentoo.org/show_bug.cgi?id=342393
Reviewed-by: Dan Nicholson <dbn.lists at gmail.com>

---

 configure.ac |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 55e5251..8badb72 100644
--- a/configure.ac
+++ b/configure.ac
@@ -859,13 +859,12 @@ xyesyes)
 xyesno)
     # DRI-based GLX
     PKG_CHECK_MODULES([GLPROTO], [glproto >= $GLPROTO_REQUIRED])
-    GL_PC_REQ_PRIV="glproto >= $GLPROTO_REQUIRED"
     if test x"$driglx_direct" = xyes; then
         if test "x$have_libdrm" != xyes; then
             AC_MSG_ERROR([Direct rendering requires libdrm >= $LIBDRM_REQUIRED])
         fi
         PKG_CHECK_MODULES([DRI2PROTO], [dri2proto >= $DRI2PROTO_REQUIRED])
-        GL_PC_REQ_PRIV="$GL_PC_REQ_PRIV libdrm >= $LIBDRM_REQUIRED dri2proto >= $DRI2PROTO_REQUIRED"
+        GL_PC_REQ_PRIV="$GL_PC_REQ_PRIV libdrm >= $LIBDRM_REQUIRED"
     fi
 
     # find the DRI deps for libGL




More information about the mesa-commit mailing list