summaryrefslogtreecommitdiff
path: root/devel/SDL
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 /devel/SDL
parent24f7929dc215b42dce86fc5cd36d848a3e54389c (diff)
downloadpkgsrc-339cd13cb2e6dedfb07f792d4748aad67fe2788b.tar.gz
Initial sprinkling of work-in-progress buildlink3.mk files for using the
buildlink3 framework.
Diffstat (limited to 'devel/SDL')
-rw-r--r--devel/SDL/buildlink3.mk29
1 files changed, 29 insertions, 0 deletions
diff --git a/devel/SDL/buildlink3.mk b/devel/SDL/buildlink3.mk
new file mode 100644
index 00000000000..ed859ccd975
--- /dev/null
+++ b/devel/SDL/buildlink3.mk
@@ -0,0 +1,29 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/01/03 23:06:43 jlam Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+SDL_BUILDLINK3_MK:= ${SDL_BUILDLINK3_MK}+
+
+.if !empty(SDL_BUILDLINK3_MK:M\+)
+. include "../../mk/bsd.prefs.mk"
+
+BUILDLINK_DEPENDS.SDL?= SDL>=1.2.5nb5
+BUILDLINK_PKGSRCDIR.SDL?= ../../devel/SDL
+.endif # SDL_BUILDLINK3_MK
+
+.if !empty(BUILDLINK_DEPTH:M\+)
+BUILDLINK_DEPENDS+= SDL
+.endif
+
+.if !empty(SDL_BUILDLINK3_MK:M\+)
+BUILDLINK_PACKAGES+= SDL
+
+USE_X11= YES
+PTHREAD_OPTS+= require
+
+. include "../../graphics/MesaLib/buildlink3.mk"
+. include "../../graphics/glut/buildlink3.mk"
+. include "../../graphics/aalib-x11/buildlink3.mk"
+. include "../../mk/pthread.buildlink3.mk"
+.endif # SDL_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:C/\+$//}