diff --git a/build/Makefile.openbsd b/build/Makefile.openbsd index ae5874d1af..00ff8b3f6b 100644 --- a/build/Makefile.openbsd +++ b/build/Makefile.openbsd @@ -10,6 +10,7 @@ PKG=rsync-3.1.0 git automake-1.14.1 autoconf-2.69p1 libtool gmake bzip2 jpeg wget pcre speex libldns FSPREFIX=/usr/local/freeswitch PREFIX=$(FSPREFIX) +DOWNLOAD=http://files.freeswitch.org/downloads/libs OPENSSL=1.0.1h LIBEDIT=20140618-3.1 CURL=7.35.0 @@ -42,13 +43,13 @@ deps: libedit openssl curl openssl: openssl-$(OPENSSL)/Makefile openssl-$(OPENSSL)/Makefile: openssl-$(OPENSSL) openssl-$(OPENSSL): - (test -d $@) || (wget -4 -O $@.tar.gz http://www.openssl.org/source/$@.tar.gz && tar zxfv $@.tar.gz) + (test -d $@) || (wget -4 -O $@.tar.gz $(DOWNLOAD)/$@.tar.gz && tar zxfv $@.tar.gz) (cd $@ && ./Configure --prefix=$(PREFIX) BSD-x86_64 shared && make && sudo make install) libedit: libedit-$(LIBEDIT)/Makefile libedit-$(LIBEDIT)/Makefile: libedit-$(LIBEDIT) libedit-$(LIBEDIT): - (test -d $@) || (wget -4 -O $@.tar.gz http://thrysoee.dk/editline/$@.tar.gz && tar zxfv $@.tar.gz) + (test -d $@) || (wget -4 -O $@.tar.gz $(DOWNLOAD)/$@.tar.gz && tar zxfv $@.tar.gz) (cd $@ && ./configure --prefix=$(PREFIX) && make && sudo make install) curl: curl-$(CURL)/.done