aboutsummaryrefslogtreecommitdiffstats
path: root/lang/erlang/files/patch-erts-emulator-Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'lang/erlang/files/patch-erts-emulator-Makefile.in')
-rw-r--r--lang/erlang/files/patch-erts-emulator-Makefile.in14
1 files changed, 12 insertions, 2 deletions
diff --git a/lang/erlang/files/patch-erts-emulator-Makefile.in b/lang/erlang/files/patch-erts-emulator-Makefile.in
index 20d61548c764..9910f98f5f1c 100644
--- a/lang/erlang/files/patch-erts-emulator-Makefile.in
+++ b/lang/erlang/files/patch-erts-emulator-Makefile.in
@@ -3,13 +3,23 @@ $FreeBSD$
--- erts/emulator/Makefile.in.orig
+++ erts/emulator/Makefile.in
-@@ -265,7 +265,9 @@
+@@ -265,8 +265,10 @@
endif
WITH_SCTP=@WITH_SCTP@
ifdef WITH_SCTP
+ifneq ($(findstring freebsd,$(TARGET)),freebsd)
LIBS += -lsctp
-+endif
endif
++endif
ORG_THR_LIBS=@EMU_THR_LIBS@
+ THR_LIB_NAME=@EMU_THR_LIB_NAME@
+@@ -544,7 +546,7 @@
+ endif
+
+ $(OBJDIR)/%.o: beam/%.c
+- $(CC) $(subst -O2, $(GEN_OPT_FLGS), $(CFLAGS)) $(INCLUDES) -c $< -o $@
++ $(CC) $(INCLUDES) $(subst -O2, $(GEN_OPT_FLGS), $(CFLAGS)) -c $< -o $@
+
+ else
+