$FreeBSD: ports/lang/erlang/files/patch-erts-emulator-Makefile.in,v 1.1 2007/07/02 20:47:53 olgeni Exp $

--- erts/emulator/Makefile.in.orig
+++ erts/emulator/Makefile.in
@@ -265,7 +265,9 @@
 endif
 WITH_SCTP=@WITH_SCTP@
 ifdef WITH_SCTP
+ifneq ($(findstring freebsd,$(TARGET)),freebsd)
 LIBS += -lsctp
+endif
 endif
 
 ORG_THR_LIBS=@EMU_THR_LIBS@


syntax highlighted by Code2HTML, v. 0.9.1