openbsd-ports/www/fennec/patches/patch-toolkit_library_Makefile_in
2012-02-20 20:21:43 +00:00

32 lines
760 B
Plaintext

$OpenBSD: patch-toolkit_library_Makefile_in,v 1.7 2012/02/20 20:21:43 landry Exp $
https://bugzilla.mozilla.org/show_bug.cgi?id=648726
https://bugzilla.mozilla.org/show_bug.cgi?id=648730
--- toolkit/library/Makefile.in.orig Wed Jan 11 18:15:04 2012
+++ toolkit/library/Makefile.in Sat Jan 14 20:24:16 2012
@@ -144,6 +144,12 @@ OS_LIBS += \
$(NULL)
endif
+ifeq ($(OS_ARCH),OpenBSD)
+ifdef MOZ_SYDNEYAUDIO
+EXTRA_DSO_LDOPTS += -lsndio
+endif
+endif
+
ifeq ($(OS_ARCH),Darwin)
ifdef MOZ_SYDNEYAUDIO
EXTRA_DSO_LDOPTS += \
@@ -155,12 +161,6 @@ EXTRA_DSO_LDOPTS += \
-framework Foundation \
-framework AppKit \
$(NULL)
-endif
-endif
-
-ifneq (,$(filter NetBSD OpenBSD,$(OS_ARCH)))
-ifdef MOZ_SYDNEYAUDIO
-EXTRA_DSO_LDOPTS += -lossaudio
endif
endif