openbsd-ports/www/mozilla-firefox/patches/patch-toolkit_library_Makefile_in
2011-10-03 21:06:09 +00:00

32 lines
771 B
Plaintext

$OpenBSD: patch-toolkit_library_Makefile_in,v 1.10 2011/10/03 21:06:09 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 Thu Aug 25 02:37:24 2011
+++ toolkit/library/Makefile.in Mon Aug 29 14:54:57 2011
@@ -157,6 +157,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 += \
@@ -168,12 +174,6 @@ EXTRA_DSO_LDOPTS += \
-framework Foundation \
-framework AppKit \
$(NULL)
-endif
-endif
-
-ifneq (,$(filter GNU GNU_% NetBSD OpenBSD,$(OS_ARCH)))
-ifdef MOZ_SYDNEYAUDIO
-EXTRA_DSO_LDOPTS += -lossaudio
endif
endif