summaryrefslogtreecommitdiff
path: root/graphics/glut
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-01-03 23:06:43 +0000
committerjlam <jlam@pkgsrc.org>2004-01-03 23:06:43 +0000
commit339cd13cb2e6dedfb07f792d4748aad67fe2788b (patch)
tree7815453a8a5d5cc91288c15c8c52893726b1e2bc /graphics/glut
parent24f7929dc215b42dce86fc5cd36d848a3e54389c (diff)
downloadpkgsrc-339cd13cb2e6dedfb07f792d4748aad67fe2788b.tar.gz
Initial sprinkling of work-in-progress buildlink3.mk files for using the
buildlink3 framework.
Diffstat (limited to 'graphics/glut')
-rw-r--r--graphics/glut/buildlink3.mk21
1 files changed, 21 insertions, 0 deletions
diff --git a/graphics/glut/buildlink3.mk b/graphics/glut/buildlink3.mk
new file mode 100644
index 00000000000..75ae012bf87
--- /dev/null
+++ b/graphics/glut/buildlink3.mk
@@ -0,0 +1,21 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/01/03 23:06:44 jlam Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+GLUT_BUILDLINK3_MK:= ${GLUT_BUILDLINK3_MK}+
+
+.if !empty(GLUT_BUILDLINK3_MK:M\+)
+BUILDLINK_DEPENDS.glut?= glut>=${MESA_VERSION}
+BUILDLINK_PKGSRCDIR.glut?= ../../graphics/glut
+.endif # GLUT_BUILDLINK3_MK
+
+.if !empty(BUILDLINK_DEPTH:M\+)
+BUILDLINK_DEPENDS+= glut
+.endif
+
+.if !empty(GLUT_BUILDLINK3_MK:M\+)
+BUILDLINK_PACKAGES+= glut
+
+. include "../../graphics/MesaLib/buildlink3.mk"
+.endif # GLUT_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:C/\+$//}