From 237045bc6865cf60f4e43dd4f855c40bd3d31452 Mon Sep 17 00:00:00 2001 From: jow Date: Sat, 16 Mar 2013 22:10:20 +0000 Subject: [PATCH] freeswitch: return $(FS_DEFAULT_HEAD) in DUMP phase, avoids hanging scripts/feeds update due to git.freeswitch.org connectivity issues git-svn-id: svn://svn.openwrt.org/openwrt/packages@36058 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- net/freeswitch/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/freeswitch/Makefile b/net/freeswitch/Makefile index a093d82fc..ab66c4571 100644 --- a/net/freeswitch/Makefile +++ b/net/freeswitch/Makefile @@ -19,7 +19,7 @@ PKG_VERSION:=1.3.17 PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=git://git.$(PKG_NAME).org/$(PKG_NAME).git FS_DEFAULT_HEAD:=6af84a870c21836e20077f27a85d94fd382a02be -FS_LATEST_HEAD:=$(shell git ls-remote $(PKG_SOURCE_URL) HEAD | cut -f1) +FS_LATEST_HEAD:=$(if $(DUMP),$(FS_DEFAULT_HEAD),$(shell git ls-remote $(PKG_SOURCE_URL) HEAD | cut -f1)) PKG_SOURCE_VERSION:=$(if $(CONFIG_FS_SOFIA_WITH_PULL_CURRENT),$(FS_LATEST_HEAD),$(FS_DEFAULT_HEAD)) PKG_SOURCE_VERSION_SHORT:=$(shell echo $(PKG_SOURCE_VERSION)|cut -b -7) PKG_RELEASE:=$(PKG_SOURCE_VERSION_SHORT)