pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio/SDL_sound bl3ify.
details: https://anonhg.NetBSD.org/pkgsrc/rev/dd986a2ef4b2
branches: trunk
changeset: 470202:dd986a2ef4b2
user: snj <snj%pkgsrc.org@localhost>
date: Sun Mar 07 06:58:39 2004 +0000
description:
bl3ify.
diffstat:
audio/SDL_sound/Makefile | 14 +++++++-------
audio/SDL_sound/buildlink3.mk | 24 ++++++++++++++++++++++++
2 files changed, 31 insertions(+), 7 deletions(-)
diffs (56 lines):
diff -r 673eee8fc6a6 -r dd986a2ef4b2 audio/SDL_sound/Makefile
--- a/audio/SDL_sound/Makefile Sun Mar 07 06:43:34 2004 +0000
+++ b/audio/SDL_sound/Makefile Sun Mar 07 06:58:39 2004 +0000
@@ -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 @@
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 -r 673eee8fc6a6 -r dd986a2ef4b2 audio/SDL_sound/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/SDL_sound/buildlink3.mk Sun Mar 07 06:58:39 2004 +0000
@@ -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/+$//}
Home |
Main Index |
Thread Index |
Old Index