resolve FS-3309; zeromq moves around upstream sources

Since zeromq doesn't maintain a single canonical URL for a given
version, we try both possible locations before giving up.
This commit is contained in:
Travis Cross 2011-06-06 19:17:10 +00:00
parent f25085e06b
commit ef8b793c38
1 changed files with 2 additions and 1 deletions

View File

@ -3,6 +3,7 @@ BASE=../../../..
ZMQ=zeromq-2.1.4
ZMQ_BASEURL=http://download.zeromq.org
ZMQ_BASEURL_ALT=http://download.zeromq.org/historic
ZMQ_DIR=$(switch_srcdir)/libs/$(ZMQ)
ZMQ_BUILDDIR=$(switch_builddir)/libs/$(ZMQ)
@ -13,7 +14,7 @@ LOCAL_LIBADD=$(ZMQ_LA)
include $(BASE)/build/modmake.rules
$(ZMQ_DIR):
$(GETLIB) $(ZMQ_BASEURL) $(ZMQ).tar.gz
$(GETLIB) $(ZMQ_BASEURL) $(ZMQ).tar.gz || $(GETLIB) $(ZMQ_BASEURL_ALT) $(ZMQ).tar.gz
cd $(ZMQ_DIR) && ./autogen.sh
$(ZMQ_BUILDDIR)/Makefile: $(ZMQ_DIR)