openbsd-ports/www/fennec/patches/patch-xulrunner_app_Makefile_in

18 lines
523 B
Plaintext

$OpenBSD: patch-xulrunner_app_Makefile_in,v 1.5 2011/12/08 01:35:08 nigel Exp $
https://bugzilla.mozilla.org/show_bug.cgi?id=648726
--- xulrunner/app/Makefile.in.orig Fri Nov 4 23:52:12 2011
+++ xulrunner/app/Makefile.in Thu Nov 17 19:34:16 2011
@@ -80,6 +80,12 @@ ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
TK_LIBS := -framework Cocoa $(TK_LIBS)
endif
+ifeq ($(OS_ARCH),OpenBSD)
+ifdef MOZ_SYDNEYAUDIO
+LIBS += -lsndio
+endif
+endif
+
LIBS += \
$(EXTRA_DSO_LIBS) \
$(DIST)/lib/$(LIB_PREFIX)xpcomglue_s.$(LIB_SUFFIX) \