pkgsrc/graphics/glut/buildlink2.mk
jlam 13b9a4eeef version.mk no longer defines MESA_VERSION. Put the version number of the
required package in its place.  Thanks to Jan Schaumann for diagnosing the
problem.
2004-01-25 17:26:07 +00:00

22 lines
590 B
Makefile

# $NetBSD: buildlink2.mk,v 1.8 2004/01/25 17:26:07 jlam Exp $
.if !defined(GLUT_BUILDLINK2_MK)
GLUT_BUILDLINK2_MK= # defined
BUILDLINK_PACKAGES+= glut
BUILDLINK_DEPENDS.glut?= glut>=6.0
BUILDLINK_PKGSRCDIR.glut?= ../../graphics/glut
EVAL_PREFIX+= BUILDLINK_PREFIX.glut=glut
BUILDLINK_PREFIX.glut_DEFAULT= ${LOCALBASE}
BUILDLINK_FILES.glut= include/GL/glut.h
BUILDLINK_FILES.glut+= include/GL/glutf90.h
BUILDLINK_FILES.glut+= lib/libglut.*
.include "../../graphics/MesaLib/buildlink2.mk"
BUILDLINK_TARGETS+= glut-buildlink
glut-buildlink: _BUILDLINK_USE
.endif # GLUT_BUILDLINK2_MK