summaryrefslogtreecommitdiff
path: root/audio/SDL_sound
diff options
context:
space:
mode:
authorsnj <snj@pkgsrc.org>2004-03-07 06:58:39 +0000
committersnj <snj@pkgsrc.org>2004-03-07 06:58:39 +0000
commit65b223b40196eca2f88c34a42a7e9faba0c8542c (patch)
tree91b1e0d4cb0906b50c915a948e665b4d0998031a /audio/SDL_sound
parent5289c6834d6ec7ae4eef2c2ab47f462130b7406a (diff)
downloadpkgsrc-65b223b40196eca2f88c34a42a7e9faba0c8542c.tar.gz
bl3ify.
Diffstat (limited to 'audio/SDL_sound')
-rw-r--r--audio/SDL_sound/Makefile14
-rw-r--r--audio/SDL_sound/buildlink3.mk24
2 files changed, 31 insertions, 7 deletions
diff --git a/audio/SDL_sound/Makefile b/audio/SDL_sound/Makefile
index 2babf96eefe..9bef1005849 100644
--- a/audio/SDL_sound/Makefile
+++ b/audio/SDL_sound/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2004/02/14 17:21:32 jlam Exp $
+# $NetBSD: Makefile,v 1.8 2004/03/07 06:58:39 snj Exp $
#
DISTNAME= SDL_sound-1.0.1
@@ -10,12 +10,12 @@ HOMEPAGE= http://icculus.org/SDL_sound/
COMMENT= SDL library to handle the decoding of different file formats
GNU_CONFIGURE= YES
-USE_X11= YES
+USE_BUILDLINK3= YES
USE_LIBTOOL= YES
-USE_BUILDLINK2= YES
+USE_X11= YES
-.include "../../audio/libmikmod/buildlink2.mk"
-.include "../../audio/libvorbis/buildlink2.mk"
-.include "../../devel/SDL/buildlink2.mk"
-.include "../../devel/smpeg/buildlink2.mk"
+.include "../../audio/libmikmod/buildlink3.mk"
+.include "../../audio/libvorbis/buildlink3.mk"
+.include "../../devel/SDL/buildlink3.mk"
+.include "../../devel/smpeg/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/audio/SDL_sound/buildlink3.mk b/audio/SDL_sound/buildlink3.mk
new file mode 100644
index 00000000000..ababb099b28
--- /dev/null
+++ b/audio/SDL_sound/buildlink3.mk
@@ -0,0 +1,24 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/03/07 06:58:39 snj Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+SDL_SOUND_BUILDLINK3_MK:= ${SDL_SOUND_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= SDL_sound
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NSDL_sound}
+BUILDLINK_PACKAGES+= SDL_sound
+
+.if !empty(SDL_SOUND_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.SDL_sound+= SDL_sound>=1.0.1
+BUILDLINK_PKGSRCDIR.SDL_sound?= ../../audio/SDL_sound
+
+.include "../../audio/libmikmod/buildlink3.mk"
+.include "../../audio/libvorbis/buildlink3.mk"
+.include "../../devel/SDL/buildlink3.mk"
+.include "../../devel/smpeg/buildlink3.mk"
+
+.endif # SDL_SOUND_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}