From 7bcfd93c3dca4523ef09b2aebf7c92d8acde071a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Tue, 23 Jun 2015 19:59:59 +0200 Subject: Only apply RabbitMQ patches for rabbit projects --- core/deps.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/deps.mk') 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; \ -- cgit v1.2.3