openbsd-ports/www/seamonkey/patches/patch-mozilla_toolkit_library_Makefile_in
2011-10-03 21:07:39 +00:00

30 lines
863 B
Plaintext

$OpenBSD: patch-mozilla_toolkit_library_Makefile_in,v 1.4 2011/10/03 21:07:39 landry Exp $
--- mozilla/toolkit/library/Makefile.in.orig Sat Sep 17 03:35:15 2011
+++ mozilla/toolkit/library/Makefile.in Mon Sep 19 10:35:58 2011
@@ -171,12 +171,6 @@ EXTRA_DSO_LDOPTS += \
endif
endif
-ifneq (,$(filter GNU GNU_% NetBSD OpenBSD,$(OS_ARCH)))
-ifdef MOZ_SYDNEYAUDIO
-EXTRA_DSO_LDOPTS += -lossaudio
-endif
-endif
-
ifdef MOZ_PLATFORM_MAEMO
EXTRA_DSO_LDOPTS += $(MOZ_PLATFORM_MAEMO_LIBS)
endif
@@ -253,6 +247,12 @@ ifeq ($(OS_ARCH),OpenBSD)
# Needed by nsAuthGSSAPI
EXTRA_DSO_LDOPTS += -lkrb5 -lcrypto
endif
+
+# GTK2 widget and Sydney audio sndio backends.
+EXTRA_DSO_LDOPTS += -lsndio
+
+# Needed by nsAuthGSSAPI
+EXTRA_DSO_LDOPTS += -lkrb5 -lcrypto
ifdef MOZ_JAVAXPCOM
dlldeps-javaxpcom.cpp: $(topsrcdir)/extensions/java/xpcom/src/dlldeps-javaxpcom.cpp