pkgsrc/graphics/Mesa/buildlink2.mk
jlam db3a779c2d Alter Mesa/GL packages so that they may always be installed if
X11PREFIX != X11BASE (xpkgwedge is installed).  Introduce a new variable
MESA_REQD that defaults to "3.4.2" and represents the version of Mesa/GL
needed by a package.  MESA_REQD is intended to be used by package Makefiles
or by buildlink2.mk files.

It should now be possible to update this package to the latest release
(5.0), and have it work on:

	* XF86-3.x with or without xpkgwedge
	* XF86-4.x with xpkgwedge
2002-11-18 07:49:24 +00:00

13 lines
364 B
Makefile

# $NetBSD: buildlink2.mk,v 1.3 2002/11/18 07:49:24 jlam Exp $
.if !defined(MESA_BUILDLINK2_MK)
MESA_BUILDLINK2_MK= # defined
MESA_REQD?= 3.4.2
BUILDLINK_PREFIX.Mesa= ${BUILDLINK_PREFIX.MesaLib}
.include "../../graphics/MesaLib/buildlink2.mk"
.include "../../graphics/glu/buildlink2.mk"
.include "../../graphics/glut/buildlink2.mk"
.endif # MESA_BUILDLINK2_MK