diff options
author | jlam <jlam> | 2002-06-26 05:36:29 +0000 |
---|---|---|
committer | jlam <jlam> | 2002-06-26 05:36:29 +0000 |
commit | 32ae630cae685929807eb707c8cbd89f3a0bb79d (patch) | |
tree | 79b93bc8f2de5388f1c466f21d1c66abe4e5f5af /graphics/glut | |
parent | 4d6a4b50bdff1f0859f0beac124cc38c1248178b (diff) | |
download | pkgsrc-32ae630cae685929807eb707c8cbd89f3a0bb79d.tar.gz |
Give the parts of Mesa their own buildlink.mk files and have Mesa's
buildlink.mk simply include the others. This allows distributing the
various tests for whether that part of Mesa is in the base X11R6 into the
relevant buildlink.mk file.
Diffstat (limited to 'graphics/glut')
-rw-r--r-- | graphics/glut/buildlink.mk | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/graphics/glut/buildlink.mk b/graphics/glut/buildlink.mk new file mode 100644 index 00000000000..4eb328e3e91 --- /dev/null +++ b/graphics/glut/buildlink.mk @@ -0,0 +1,22 @@ +# $NetBSD: buildlink.mk,v 1.1 2002/06/26 05:36:30 jlam Exp $ + +.if !defined(GLUT_BUILDLINK_MK) +GLUT_BUILDLINK_MK= # defined + +.include "../../mk/bsd.buildlink.mk" + +BUILDLINK_DEPENDS.glut?= glut>=3.4.2 +DEPENDS+= ${BUILDLINK_DEPENDS.glut}:../../graphics/glut + +EVAL_PREFIX+= BUILDLINK_PREFIX.glut=glut +BUILDLINK_PREFIX.glut_DEFAULT= ${X11PREFIX} +BUILDLINK_FILES.glut= include/GL/glut.h +BUILDLINK_FILES.glut+= include/GL/glutf90.h +BUILDLINK_FILES.glut+= lib/libglut.* + +BUILDLINK_TARGETS+= glut-buildlink + +pre-configure: glut-buildlink +glut-buildlink: _BUILDLINK_USE + +.endif # GLUT_BUILDLINK_MK |