openbsd-ports/www/fennec/patches/patch-toolkit_library_Makefile_in
landry 540844ce5f Update to fennec 10.0.4. There likely wont be any releases from newer
branches, since desktop fennec is abandoned in favor of fennec with
native ui on android (hence, not targeted at other oses...)
2012-04-30 15:40:31 +00:00

32 lines
742 B
Plaintext

$OpenBSD: patch-toolkit_library_Makefile_in,v 1.8 2012/04/30 15:40:31 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 Fri Apr 20 23:52:59 2012
+++ toolkit/library/Makefile.in Thu Apr 26 20:29:44 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
OS_LIBS += \
@@ -155,12 +161,6 @@ OS_LIBS += \
-framework Foundation \
-framework AppKit \
$(NULL)
-endif
-endif
-
-ifneq (,$(filter NetBSD OpenBSD,$(OS_ARCH)))
-ifdef MOZ_SYDNEYAUDIO
-EXTRA_DSO_LDOPTS += -lossaudio
endif
endif