1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/lang/erlang-runtime15/files/patch-erts-emulator-Makefile.in
Jimmy Olgeni d8664ccffe Add lang/erlang-runtime15.
This port is indented for developers and port maintainers. It is a
copy of lang/erlang with a few differences:

- Nothing is installed in $PREFIX/bin
- Libraries are installed in $PREFIX/lib/erlang15
- You have to change your PATH to actually use it
- Support for building PLTs is removed
- Other ports are not supposed to install anything inside this environment

What is this for:

- Building Erlang applications using the R15 runtime, once R16 is
  committed (think Riak).

- Building Erlang applications when there are conflicts with modules
  provided by other ports (for example, the RabbitMQ client libraries
  conflict with the server code installed by net/rabbitmq).

- Testing new Erlang versions before the main port is upgraded.
2013-05-05 13:04:34 +00:00

15 lines
287 B
Plaintext

$FreeBSD$
--- erts/emulator/Makefile.in.orig
+++ erts/emulator/Makefile.in
@@ -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