aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2015-06-23 19:59:59 +0200
committerLoïc Hoguin <[email protected]>2015-06-23 19:59:59 +0200
commit7bcfd93c3dca4523ef09b2aebf7c92d8acde071a (patch)
treef48974c75b02499511ed031a464f366de94fb346
parent754530904901304f55716db3bf164795343e99c5 (diff)
downloaderlang.mk-7bcfd93c3dca4523ef09b2aebf7c92d8acde071a.tar.gz
erlang.mk-7bcfd93c3dca4523ef09b2aebf7c92d8acde071a.tar.bz2
erlang.mk-7bcfd93c3dca4523ef09b2aebf7c92d8acde071a.zip
Only apply RabbitMQ patches for rabbit projects
-rw-r--r--core/deps.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/deps.mk b/core/deps.mk
index 3389cc1..cea2242 100644
--- a/core/deps.mk
+++ b/core/deps.mk
@@ -528,7 +528,7 @@ endif
cd $(DEPS_DIR)/$(1) && ./configure; \
fi
ifeq ($(filter $(1),$(NO_AUTOPATCH)),)
- @if [ "$(RABBITMQ_CLIENT_PATCH)" ]; then \
+ @if [ "$(1)" = "amqp_client" -a "$(RABBITMQ_CLIENT_PATCH)" ]; then \
if [ ! -d $(DEPS_DIR)/rabbitmq-codegen ]; then \
echo " PATCH Downloading rabbitmq-codegen"; \
git clone https://github.com/rabbitmq/rabbitmq-codegen.git $(DEPS_DIR)/rabbitmq-codegen; \
@@ -538,7 +538,7 @@ ifeq ($(filter $(1),$(NO_AUTOPATCH)),)
git clone https://github.com/rabbitmq/rabbitmq-server.git $(DEPS_DIR)/rabbit; \
ln -s $(DEPS_DIR)/rabbit $(DEPS_DIR)/rabbitmq-server; \
fi \
- elif [ "$(RABBITMQ_SERVER_PATCH)" ]; then \
+ elif [ "$(1)" = "rabbit" -a "$(RABBITMQ_SERVER_PATCH)" ]; then \
if [ ! -d $(DEPS_DIR)/rabbitmq-codegen ]; then \
echo " PATCH Downloading rabbitmq-codegen"; \
git clone https://github.com/rabbitmq/rabbitmq-codegen.git $(DEPS_DIR)/rabbitmq-codegen; \