python-pyasn: bump to version 1.6.0b1
[buildroot-gz.git] / package / ejabberd / 0001-remove-make-targets-for-deps.patch
blob6917f71f31b4665db54a6dc5a0c9f18c28d230db
1 From 21d1f05a8882657c151397d0e4723535402f1757 Mon Sep 17 00:00:00 2001
2 From: Philipp Huebner <debalance@debian.org>
3 Date: Wed, 20 Jan 2016 10:22:57 -0500
4 Subject: [PATCH] remove make targets for deps
6 Without this patch, dependencies would be downloaded and compiled
7 using rebar at build time.
9 Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
10 ---
11 Makefile.in | 26 +++-----------------------
12 1 file changed, 3 insertions(+), 23 deletions(-)
14 diff --git a/Makefile.in b/Makefile.in
15 index 08cd837..2a6457c 100644
16 --- a/Makefile.in
17 +++ b/Makefile.in
18 @@ -77,26 +77,11 @@ else
19 INIT_USER=$(INSTALLUSER)
20 endif
22 -all: deps src
23 +all: src
25 -deps: deps/.got
27 -deps/.got:
28 - rm -rf deps/.got
29 - rm -rf deps/.built
30 - $(REBAR) get-deps && :> deps/.got
32 -deps/.built: deps/.got
33 - $(REBAR) compile && :> deps/.built
35 -src: deps/.built
36 +src:
37 $(REBAR) skip_deps=true compile
39 -update:
40 - rm -rf deps/.got
41 - rm -rf deps/.built
42 - $(REBAR) update-deps && :> deps/.got
44 xref: all
45 $(REBAR) skip_deps=true xref
47 @@ -152,16 +137,13 @@ $(foreach file,$(DEPS_FILES_FILTERED) $(MAIN_FILES),$(eval $(call COPY_template,
48 $(sort $(call TO_DEST,$(MAIN_DIRS) $(DEPS_DIRS))):
49 $(INSTALL) -d $@
51 -$(call TO_DEST,deps/p1_pam/priv/bin/epam): $(LIBDIR)/%: deps/p1_pam/priv/bin/epam $(call TO_DEST,deps/p1_pam/priv/bin/)
52 - $(INSTALL) -m 750 $(O_USER) $< $@
54 $(call TO_DEST,priv/sql/lite.sql): sql/lite.sql $(call TO_DEST,priv/sql)
55 $(INSTALL) -m 644 $< $@
57 $(call TO_DEST,priv/bin/captcha.sh): tools/captcha.sh $(call TO_DEST,priv/bin)
58 $(INSTALL) -m 750 $(O_USER) $< $@
60 -copy-files-sub2: $(call TO_DEST,$(DEPS_FILES) $(MAIN_FILES) priv/bin/captcha.sh priv/sql/lite.sql)
61 +copy-files-sub2: $(call TO_DEST,$(MAIN_FILES) priv/bin/captcha.sh priv/sql/lite.sql)
63 endif
65 @@ -287,8 +269,6 @@ TAGS:
67 Makefile: Makefile.in
69 -deps := $(wildcard deps/*/ebin)
71 dialyzer/erlang.plt:
72 @mkdir -p dialyzer
73 @dialyzer --build_plt --output_plt dialyzer/erlang.plt \
74 --
75 2.5.0