pkgsrc/devel/xulrunner/patches/patch-mp

33 lines
753 B
Text
Raw Normal View History

2009-09-20 17:30:54 +02:00
$NetBSD: patch-mp,v 1.2 2009/09/20 15:30:54 sno Exp $
2009-09-20 17:30:54 +02:00
Use Sun audio on NetBSD and OSS on DragonFlyBSD and FreeBSD.
2009-09-20 17:30:54 +02:00
--- media/libsydneyaudio/src/Makefile.in.orig 2009-08-24 17:52:50.000000000 +0200
+++ media/libsydneyaudio/src/Makefile.in 2009-09-20 16:12:16.000000000 +0200
@@ -71,12 +71,24 @@
OS_LIBS += -framework CoreAudio -framework AudioToolbox -framework AudioUnit -framework Carbon
endif
-ifeq ($(OS_ARCH),SunOS)
+ifneq (,$(filter SunOS NetBSD,$(OS_ARCH)))
CSRCS = \
sydney_audio_sunaudio.c \
$(NULL)
endif
+ifeq ($(OS_ARCH),DragonFly)
+CSRCS = \
+ sydney_audio_oss.c \
+ $(NULL)
+endif
2009-09-20 17:30:54 +02:00
+
+ifeq ($(OS_ARCH),FreeBSD)
+CSRCS = \
+ sydney_audio_oss.c \
+ $(NULL)
+endif
+
ifeq ($(OS_ARCH),WINNT)
OS_LIBS += winmm.lib
endif