pkgsrc/graphics/glut/buildlink2.mk
jschauma aa0aa518ac Finally remove support of Mesa 3.4.1 completely as discussed at length
on tech-pkg@ at various times.  This means that regardless of what kind of
GL support comes with X11, if a package depends on GL, Mesa 5.0.1 (or higher)
will be installed into ${LOCALBASE}.

Some troubleshooting after the latest patches by Krister Walfridsson.
2003-08-26 01:43:48 +00:00

22 lines
606 B
Makefile

# $NetBSD: buildlink2.mk,v 1.7 2003/08/26 01:43:50 jschauma Exp $
.if !defined(GLUT_BUILDLINK2_MK)
GLUT_BUILDLINK2_MK= # defined
BUILDLINK_PACKAGES+= glut
BUILDLINK_DEPENDS.glut?= glut>=${MESA_VERSION}
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