$NetBSD: patch-mm,v 1.1.1.1 2012/03/15 08:58:28 ryoon Exp $ --- toolkit/library/Makefile.in.orig 2012-03-09 22:20:35.000000000 +0000 +++ toolkit/library/Makefile.in @@ -209,6 +209,18 @@ EXTRA_DSO_LDOPTS += -lelf -ldemangle endif endif +ifeq ($(OS_ARCH),DragonFly) +OS_LIBS += $(call EXPAND_LIBNAME,kvm) +EXTRA_DSO_LDOPTS += -lplc4 -lplds4 -lnspr4 -lnssutil3 +endif + +ifeq ($(OS_ARCH),NetBSD) +EXTRA_DSO_LDOPTS += -lossaudio +endif +ifdef PKGSRC_PULSEAUDIO +EXTRA_DSO_LDOPTS += -lpulse +endif + ifeq ($(OS_ARCH),WINNT) OS_LIBS += $(call EXPAND_LIBNAME,shell32 ole32 uuid version winspool comdlg32 imm32 winmm wsock32 msimg32 shlwapi psapi ws2_32 dbghelp) ifneq (,$(MOZ_DEBUG)$(NS_TRACE_MALLOC))