Subject: Creating an empty xmesa.h (was: CVS commit: pkgsrc/graphics/Mesa)
To: None <tech-pkg@netbsd.org>
From: Bernd Ernesti <netbsd@arresum.inka.de>
List: tech-pkg
Date: 09/09/2001 09:59:46
On Sun, Sep 09, 2001 at 06:19:44AM +0300, Johnny C. Lam wrote:
> 
> Module Name:	pkgsrc
> Committed By:	jlam
> Date:		Sun Sep  9 03:19:43 UTC 2001
> 
> Modified Files:
> 	pkgsrc/graphics/Mesa: buildlink.mk
> 
> Log Message:
> Create an empty xmesa.h file in ${BUILDLINK_DIR}/include if it doesn't
> already exist.  This file is in Mesa-3.4.2, but not in the Mesa included
> with XFree86-4.x where the definitions in the file have migrated elsewhere.
> We create an empty one in this case to prevent compile errors caused by
> source files including xmesa.h and not finding it.

from xmesa.h:

/*
 * Mesa/X11 interface.  This header file serves as the documentation for
 * the Mesa/X11 interface functions.
 *      
 * Note: this interface isn't intended for user programs.  It's primarily
 * just for implementing the pseudo-GLX interface.
 */

So, which packages tries to include that file?

I don't think that we should do your hack from above, we should better fix the
package to not include that file, given that you just created an empty one so
this include files isn't really needed.

Bernd