]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
doh
authorBrian West <brian@freeswitch.org>
Tue, 22 Jul 2014 11:44:28 +0000 (06:44 -0500)
committerBrian West <brian@freeswitch.org>
Tue, 22 Jul 2014 11:44:28 +0000 (06:44 -0500)
build/Makefile.openbsd

index ae5874d1af8d49b72d503396e80ecb42033745af..00ff8b3f6bbdbd7ec0271e6b6bc4454bd370e483 100644 (file)
@@ -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