diff options
author | jlam <jlam> | 2004-01-03 23:06:43 +0000 |
---|---|---|
committer | jlam <jlam> | 2004-01-03 23:06:43 +0000 |
commit | 0d6c711ce586532632e1ae1b985d86085faa4580 (patch) | |
tree | 7815453a8a5d5cc91288c15c8c52893726b1e2bc /devel/SDL | |
parent | 7c4feed9a8d4596547ef84ababb069e65e478323 (diff) | |
download | pkgsrc-0d6c711ce586532632e1ae1b985d86085faa4580.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.mk | 29 |
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/\+$//} |