nixpkgs-suyu/pkgs/development/interpreters/lfe/dedup-ebins.patch
Eric Bailey d723b91223 lfe: 1.2.1 -> 1.3
Add patches to the builder expression, and add those necessary for 1.3.
2020-02-10 20:03:47 +01:00

13 lines
522 B
Diff

diff --git a/Makefile b/Makefile
index 59f2c06..5ee8f6e 100644
--- a/Makefile
+++ b/Makefile
@@ -60,7 +60,7 @@ ESRCS = $(notdir $(wildcard $(SRCDIR)/*.erl))
XSRCS = $(notdir $(wildcard $(SRCDIR)/*.xrl))
YSRCS = $(notdir $(wildcard $(SRCDIR)/*.yrl))
LSRCS = $(notdir $(wildcard $(LSRCDIR)/*.lfe))
-EBINS = $(ESRCS:.erl=.beam) $(XSRCS:.xrl=.beam) $(YSRCS:.yrl=.beam)
+EBINS = $(sort $(ESRCS:.erl=.beam) $(XSRCS:.xrl=.beam) $(YSRCS:.yrl=.beam))
LBINS = $(LSRCS:.lfe=.beam)
CSRCS = $(notdir $(wildcard $(CSRCDIR)/*.c))