Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion c_src/patches/js-src-config-FreeBSD.mk.patch
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
+OS_CFLAGS = -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R
+
+RANLIB = echo
+MKSHLIB = $(LD) -shared $(XMKSHLIBOPTS)
+MKSHLIB = $(CC) -shared $(XMKSHLIBOPTS)
+
+#.c.o:
+# $(CC) -c -MD $*.d $(CFLAGS) $<
Expand Down
5 changes: 4 additions & 1 deletion rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,10 @@

%% Prevent the make->gmake transition from infecting
%% MAKEFLAGS with bad flags that confuse gmake
{"freebsd.*", "MAKEFLAGS", ""}
{"freebsd.*", "MAKEFLAGS", ""},

%% Missing -lreadline
{"freebsd.*", "LDFLAGS", "-L/usr/local/lib"}

]}.

Expand Down